public final class

ModifiersBuilders.Corner

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Corner

Overview

The corner of a LayoutElementBuilders.Box element.

Summary

Methods
public static ModifiersBuilders.CornerfromProto(ModifiersProto.Corner proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public ModifiersBuilders.CornerRadiusgetBottomLeftRadius()

Gets the radius for the bottom-left corner of either circular or elliptical shapes.

public ModifiersBuilders.CornerRadiusgetBottomRightRadius()

Gets the radius for the bottom-right corner of either circular or elliptical shapes.

public FingerprintgetFingerprint()

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

public DimensionBuilders.DpPropgetRadius()

Gets the radius of the corner in DP.

public ModifiersBuilders.CornerRadiusgetTopLeftRadius()

Gets the radius for the top-left corner of either circular or elliptical shapes.

public ModifiersBuilders.CornerRadiusgetTopRightRadius()

Gets the radius for the top-right corner of either circular or elliptical shapes.

public ModifiersProto.CornertoProto()

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 getRadius()

Gets the radius of the corner in DP.

public ModifiersBuilders.CornerRadius getTopLeftRadius()

Gets the radius for the top-left corner of either circular or elliptical shapes.

public ModifiersBuilders.CornerRadius getTopRightRadius()

Gets the radius for the top-right corner of either circular or elliptical shapes.

public ModifiersBuilders.CornerRadius getBottomRightRadius()

Gets the radius for the bottom-right corner of either circular or elliptical shapes.

public ModifiersBuilders.CornerRadius getBottomLeftRadius()

Gets the radius for the bottom-left corner of either circular or elliptical shapes.

public Fingerprint getFingerprint()

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

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

Creates a new wrapper instance from the proto.

public ModifiersProto.Corner toProto()

Returns the internal proto instance.

public java.lang.String toString()