public final class

ModifiersBuilders.Border

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Border

Overview

A modifier to apply a border around an element.

Summary

Methods
public static ModifiersBuilders.BorderfromProto(ModifiersProto.Border proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public ColorBuilders.ColorPropgetColor()

Gets the color of the border.

public FingerprintgetFingerprint()

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

public DimensionBuilders.DpPropgetWidth()

Gets the width of the border, in DP.

public ModifiersProto.BordertoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public DimensionBuilders.DpProp getWidth()

Gets the width of the border, in DP.

public ColorBuilders.ColorProp getColor()

Gets the color of the border.

While this field is statically accessible from 1.0, it's only bindable since version 1.2 and renderers supporting version 1.2 will use the dynamic value (if set).

public Fingerprint getFingerprint()

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

public static ModifiersBuilders.Border fromProto(ModifiersProto.Border proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public ModifiersProto.Border toProto()

Returns the internal proto instance.

public java.lang.String toString()