public final class

LayoutElementProto.AndroidTextStyle

extends <any>

implements LayoutElementProto.AndroidTextStyleOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.AndroidTextStyle

Overview

 An Android platform specific text style configuration options for styling and
 compatibility.
 Note that from 1.3 version this field is ignored and defaults to excluded
 font padding.
 
Protobuf type androidx.wear.protolayout.proto.AndroidTextStyle

Summary

Fields
public static final intEXCLUDE_FONT_PADDING_FIELD_NUMBER

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

public static LayoutElementProto.AndroidTextStylegetDefaultInstance()

public booleangetExcludeFontPadding()

 Whether the Text excludes padding specified by the font, i.e.

public static LayoutElementProto.AndroidTextStyle.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static LayoutElementProto.AndroidTextStyleparseFrom(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 EXCLUDE_FONT_PADDING_FIELD_NUMBER

Methods

public boolean getExcludeFontPadding()

 Whether the Text excludes padding specified by the font, i.e. extra top and
 bottom padding above the normal ascent and descent. The default is false.
 
bool exclude_font_padding = 1;

Returns:

The excludeFontPadding.

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

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

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

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

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

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

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

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

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

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

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

public static LayoutElementProto.AndroidTextStyle getDefaultInstance()

public static <any> parser()