public final class

LayoutElementBuilders.ArcText

extends java.lang.Object

implements LayoutElementBuilders.ArcLayoutElement

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.ArcText

Overview

A text element that can be used in an LayoutElementBuilders.Arc.

Summary

Methods
public static LayoutElementBuilders.ArcTextfromProto(LayoutElementProto.ArcText proto)

public LayoutElementBuilders.FontStylegetFontStyle()

Gets the style of font to use (size, bold etc).

public ModifiersBuilders.ArcModifiersgetModifiers()

Gets ModifiersBuilders.Modifiers for this element.

public TypeBuilders.StringPropgetText()

Gets the text to render.

public LayoutElementProto.ArcLayoutElementtoArcLayoutElementProto()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public TypeBuilders.StringProp getText()

Gets the text to render. Intended for testing purposes only.

public LayoutElementBuilders.FontStyle getFontStyle()

Gets the style of font to use (size, bold etc). If not specified, defaults to the platform's default body font. Intended for testing purposes only.

public ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.

public static LayoutElementBuilders.ArcText fromProto(LayoutElementProto.ArcText proto)

public LayoutElementProto.ArcLayoutElement toArcLayoutElementProto()