public final class

DimensionBuilders.EmProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.EmProp

Overview

A type for font spacing, measured in em.

Summary

Methods
public static DimensionBuilders.EmPropfromProto(DimensionProto.EmProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public floatgetValue()

Gets the value, in em.

public DimensionProto.EmProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public float getValue()

Gets the value, in em.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

public static DimensionBuilders.EmProp fromProto(DimensionProto.EmProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public DimensionProto.EmProp toProto()

Returns the internal proto instance.

public java.lang.String toString()