public final class

ModifiersBuilders.Corner.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Corner.Builder

Overview

Builder for ModifiersBuilders.Corner

Summary

Constructors
publicBuilder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods
public ModifiersBuilders.Cornerbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Corner.BuildersetBottomLeftRadius(DimensionBuilders.DpProp xRadius, DimensionBuilders.DpProp yRadius)

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

public ModifiersBuilders.Corner.BuildersetBottomLeftRadius(ModifiersBuilders.CornerRadius bottomLeftRadius)

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

public ModifiersBuilders.Corner.BuildersetBottomRightRadius(DimensionBuilders.DpProp xRadius, DimensionBuilders.DpProp yRadius)

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

public ModifiersBuilders.Corner.BuildersetBottomRightRadius(ModifiersBuilders.CornerRadius bottomRightRadius)

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

public ModifiersBuilders.Corner.BuildersetRadius(DimensionBuilders.DpProp radius)

Sets the radius of the corner in DP.

public ModifiersBuilders.Corner.BuildersetTopLeftRadius(DimensionBuilders.DpProp xRadius, DimensionBuilders.DpProp yRadius)

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

public ModifiersBuilders.Corner.BuildersetTopLeftRadius(ModifiersBuilders.CornerRadius topLeftRadius)

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

public ModifiersBuilders.Corner.BuildersetTopRightRadius(DimensionBuilders.DpProp xRadius, DimensionBuilders.DpProp yRadius)

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

public ModifiersBuilders.Corner.BuildersetTopRightRadius(ModifiersBuilders.CornerRadius topRightRadius)

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

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

Constructors

public Builder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods

Sets the radius of the corner in DP.

The shape for a specific corner can be overridden by setting that corner separately.

Note that this field only supports static values.

Sets the radius for the top-left corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

public ModifiersBuilders.Corner.Builder setTopRightRadius(ModifiersBuilders.CornerRadius topRightRadius)

Sets the radius for the top-right corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

public ModifiersBuilders.Corner.Builder setBottomRightRadius(ModifiersBuilders.CornerRadius bottomRightRadius)

Sets the radius for the bottom-right corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

public ModifiersBuilders.Corner.Builder setBottomLeftRadius(ModifiersBuilders.CornerRadius bottomLeftRadius)

Sets the radius for the bottom-left corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

Sets the radius for the top-left corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

Sets the radius for the top-right corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

Sets the radius for the bottom-right corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

Sets the radius for the bottom-left corner of either circular or elliptical shapes. If not set, defaults to radius for both horizontal and vertical axes when radius is set; or defaults to zeros when radius is also not set.

Builds an instance from accumulated values.