ModifiersBuilders.Corner


@RequiresSchemaVersion(major = 1, minor = 0)
public final class ModifiersBuilders.Corner


The corner of a androidx.wear.protolayout.LayoutElementBuilders.Box element.

Summary

Nested types

Builder for Corner

Public methods

@NonNull ModifiersBuilders.CornerRadius

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

@NonNull ModifiersBuilders.CornerRadius

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

@Nullable DimensionBuilders.DpProp

Gets the radius of the corner in DP.

@NonNull ModifiersBuilders.CornerRadius

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

@NonNull ModifiersBuilders.CornerRadius

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

@NonNull String

Public methods

getBottomLeftRadius

Added in 1.2.0
public @NonNull ModifiersBuilders.CornerRadius getBottomLeftRadius()

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

getBottomRightRadius

Added in 1.2.0
public @NonNull ModifiersBuilders.CornerRadius getBottomRightRadius()

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

getRadius

Added in 1.0.0
public @Nullable DimensionBuilders.DpProp getRadius()

Gets the radius of the corner in DP.

getTopLeftRadius

Added in 1.2.0
public @NonNull ModifiersBuilders.CornerRadius getTopLeftRadius()

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

getTopRightRadius

Added in 1.2.0
public @NonNull ModifiersBuilders.CornerRadius getTopRightRadius()

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

toString

public @NonNull String toString()