ModifiersBuilders.CornerRadius.Builder


class ModifiersBuilders.CornerRadius.Builder


Builder for CornerRadius

Summary

Public constructors

Creates an instance of Builder.

Public functions

ModifiersBuilders.CornerRadius

Builds an instance from accumulated values.

Public constructors

Builder

Added in 1.2.0
@RequiresSchemaVersion(major = 1, minor = 400)
Builder(x: DimensionBuilders.DpProp, y: DimensionBuilders.DpProp)

Creates an instance of Builder.

Parameters
x: DimensionBuilders.DpProp

the radius value in dp on the horizontal axis.

y: DimensionBuilders.DpProp

the radius value in dp on the vertical axis.

Public functions

build

Added in 1.2.0
fun build(): ModifiersBuilders.CornerRadius

Builds an instance from accumulated values.