ModifiersBuilders.CornerRadius.Builder


public final class ModifiersBuilders.CornerRadius.Builder


Builder for CornerRadius

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull ModifiersBuilders.CornerRadius

Builds an instance from accumulated values.

Public constructors

Builder

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

Creates an instance of Builder.

Parameters
@NonNull DimensionBuilders.DpProp x

the radius value in dp on the horizontal axis.

@NonNull DimensionBuilders.DpProp y

the radius value in dp on the vertical axis.

Public methods

build

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

Builds an instance from accumulated values.