public interface

LayoutElementProto.ArcTextOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.ArcTextOrBuilder

Subclasses:

LayoutElementProto.ArcText, LayoutElementProto.ArcText.Builder

Summary

Methods
public LayoutElementProto.ArcDirectionPropgetArcDirection()

 The direction in which this text is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public LayoutElementProto.FontStylegetFontStyle()

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

public ModifiersProto.ArcModifiersgetModifiers()

 Modifiers for this element.

public TypesProto.StringPropgetText()

 The text to render.

public booleanhasArcDirection()

 The direction in which this text is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public booleanhasFontStyle()

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

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasText()

 The text to render.

Methods

public boolean hasText()

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

Returns:

Whether the text field is set.

public TypesProto.StringProp getText()

 The text to render.
 
.androidx.wear.protolayout.proto.StringProp text = 1;

Returns:

The text.

public boolean hasFontStyle()

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

Returns:

Whether the fontStyle field is set.

public LayoutElementProto.FontStyle getFontStyle()

 The style of font to use (size, bold etc). If not specified, defaults to
 the platform's default body font.
 
.androidx.wear.protolayout.proto.FontStyle font_style = 2;

Returns:

The fontStyle.

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

Returns:

Whether the modifiers field is set.

public ModifiersProto.ArcModifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

Returns:

The modifiers.

public boolean hasArcDirection()

 The direction in which this text is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 4;

Returns:

Whether the arcDirection field is set.

public LayoutElementProto.ArcDirectionProp getArcDirection()

 The direction in which this text is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 4;

Returns:

The arcDirection.