public final class

LayoutElementProto.FontVariationSetting.Builder

extends <any>

implements LayoutElementProto.FontVariationSettingOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.FontVariationSetting.Builder

Overview

 A single point of customization in a font variation, with axis tag and a
 value for it.
 
Protobuf type androidx.wear.protolayout.proto.FontVariationSetting

Summary

Methods
public LayoutElementProto.FontVariationSetting.BuilderclearAxisTag()

 The axis tag for this setting.

public LayoutElementProto.FontVariationSetting.BuilderclearValue()

 The value for this setting.

public intgetAxisTag()

 The axis tag for this setting.

public floatgetValue()

 The value for this setting.

public LayoutElementProto.FontVariationSetting.BuildersetAxisTag(int value)

 The axis tag for this setting.

public LayoutElementProto.FontVariationSetting.BuildersetValue(float value)

 The value for this setting.

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

Methods

public int getAxisTag()

 The axis tag for this setting. This represents a 4 ASCII characters tag.
 
fixed32 axis_tag = 1;

Returns:

The axisTag.

 The axis tag for this setting. This represents a 4 ASCII characters tag.
 
fixed32 axis_tag = 1;

Parameters:

value: The axisTag to set.

Returns:

This builder for chaining.

 The axis tag for this setting. This represents a 4 ASCII characters tag.
 
fixed32 axis_tag = 1;

Returns:

This builder for chaining.

public float getValue()

 The value for this setting.
 
float value = 2;

Returns:

The value.

 The value for this setting.
 
float value = 2;

Parameters:

value: The value to set.

Returns:

This builder for chaining.

 The value for this setting.
 
float value = 2;

Returns:

This builder for chaining.