ModifiersBuilders.Corner.Builder

public static final class ModifiersBuilders.Corner.Builder
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.builders.ModifiersBuilders.Corner.Builder


Builder for ModifiersBuilders.Corner

Summary

Public methods

ModifiersBuilders.Corner build()

Builds an instance from accumulated values.

ModifiersBuilders.Corner.Builder setRadius(DimensionBuilders.DpProp radius)

Sets the radius of the corner in DP.

ModifiersBuilders.Corner.Builder setRadius(DimensionBuilders.DpProp.Builder radiusBuilder)

Sets the radius of the corner in DP.

Inherited methods

Public methods

build

public ModifiersBuilders.Corner build ()

Builds an instance from accumulated values.

Returns
ModifiersBuilders.Corner

setRadius

public ModifiersBuilders.Corner.Builder setRadius (DimensionBuilders.DpProp radius)

Sets the radius of the corner in DP.

Parameters
radius DimensionBuilders.DpProp

Returns
ModifiersBuilders.Corner.Builder

setRadius

public ModifiersBuilders.Corner.Builder setRadius (DimensionBuilders.DpProp.Builder radiusBuilder)

Sets the radius of the corner in DP.

Parameters
radiusBuilder DimensionBuilders.DpProp.Builder

Returns
ModifiersBuilders.Corner.Builder