public final class

LayoutElementProto.ArcText

extends <any>

implements LayoutElementProto.ArcTextOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.ArcText

Overview

 A text element that can be used in an Arc.
 
Protobuf type androidx.wear.protolayout.proto.ArcText

Summary

Fields
public static final intARC_DIRECTION_FIELD_NUMBER

public static final intFONT_STYLE_FIELD_NUMBER

public static final intMODIFIERS_FIELD_NUMBER

public static final intTEXT_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public LayoutElementProto.ArcDirectionPropgetArcDirection()

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

public static LayoutElementProto.ArcTextgetDefaultInstance()

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.

public static LayoutElementProto.ArcText.BuildernewBuilder()

public static LayoutElementProto.ArcText.BuildernewBuilder(LayoutElementProto.ArcText prototype)

public static LayoutElementProto.ArcTextparseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.ArcTextparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcTextparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcTextparseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.ArcTextparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcTextparseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcTextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcTextparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcTextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcTextparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int TEXT_FIELD_NUMBER

public static final int FONT_STYLE_FIELD_NUMBER

public static final int MODIFIERS_FIELD_NUMBER

public static final int ARC_DIRECTION_FIELD_NUMBER

Methods

public boolean hasText()

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

public TypesProto.StringProp getText()

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

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;

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;

public boolean hasModifiers()

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

public ModifiersProto.ArcModifiers getModifiers()

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

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;

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;

public static LayoutElementProto.ArcText parseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.ArcText parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText parseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcText parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText parseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.ArcText parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcText parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcText.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static LayoutElementProto.ArcText getDefaultInstance()

public static <any> parser()