ModifiersBuilders.Border


@RequiresSchemaVersion(major = 1, minor = 0)
class ModifiersBuilders.Border


A modifier to apply a border around an element.

Summary

Nested types

Builder for Border

Public functions

ColorBuilders.ColorProp?

Gets the color of the border.

DimensionBuilders.DpProp?

Gets the width of the border, in DP.

String

Public functions

getColor

Added in 1.0.0
fun getColor(): ColorBuilders.ColorProp?

Gets the color of the border.

While this field is statically accessible from 1.0, it's only bindable since version 1.2 and renderers supporting version 1.2 will use the dynamic value (if set).

getWidth

Added in 1.0.0
fun getWidth(): DimensionBuilders.DpProp?

Gets the width of the border, in DP.

toString

fun toString(): String