public final class

LayoutElementBuilders.ArcText

extends java.lang.Object

implements LayoutElementBuilders.ArcLayoutElement

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.ArcText

Overview

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

Summary

Methods
public static LayoutElementBuilders.ArcTextfromProto(LayoutElementProto.ArcText proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public LayoutElementBuilders.ArcDirectionPropgetArcDirection()

Gets defines the direction in which text is drawn.

public FingerprintgetFingerprint()

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()

public java.lang.StringtoString()

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

Methods

public TypeBuilders.StringProp getText()

Gets the text to render.

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.

public ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element.

Gets defines the direction in which text is drawn.

public Fingerprint getFingerprint()

public static LayoutElementBuilders.ArcText fromProto(LayoutElementProto.ArcText proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public LayoutElementProto.ArcLayoutElement toArcLayoutElementProto()

public java.lang.String toString()