public final class

ModifiersBuilders.CornerRadius

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.CornerRadius

Overview

A radius for either circular or elliptical shapes.

Summary

Methods
public static ModifiersBuilders.CornerRadiusfromProto(ModifiersProto.CornerRadius proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

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

public DimensionBuilders.DpPropgetX()

Gets the radius value in dp on the horizontal axis.

public DimensionBuilders.DpPropgetY()

Gets the radius value in dp on the vertical axis.

public ModifiersProto.CornerRadiustoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

Gets the radius value in dp on the horizontal axis.

Gets the radius value in dp on the vertical axis.

public Fingerprint getFingerprint()

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

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

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()