ModifiersBuilders.Border.Builder

Added in 1.0.0
Deprecated in 1.2.0

class ModifiersBuilders.Border.Builder


Builder for Border

Summary

Public constructors

Public functions

ModifiersBuilders.Border

Builds an instance from accumulated values.

ModifiersBuilders.Border.Builder

Sets the color of the border.

ModifiersBuilders.Border.Builder

Sets the width of the border, in DP.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.0.0
Deprecated in 1.2.0
fun build(): ModifiersBuilders.Border

Builds an instance from accumulated values.

setColor

Added in 1.0.0
Deprecated in 1.2.0
fun setColor(color: ColorBuilders.ColorProp): ModifiersBuilders.Border.Builder

Sets the color of the border.

setWidth

Added in 1.0.0
Deprecated in 1.2.0
fun setWidth(width: DimensionBuilders.DpProp): ModifiersBuilders.Border.Builder

Sets the width of the border, in DP.