ModifiersBuilders.Border


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


A modifier to apply a border around an element.

Summary

Nested types

Builder for Border

Public methods

@Nullable ColorBuilders.ColorProp

Gets the color of the border.

@Nullable DimensionBuilders.DpProp

Gets the width of the border, in DP.

@NonNull String

Public methods

getColor

Added in 1.0.0
public @Nullable ColorBuilders.ColorProp getColor()

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
public @Nullable DimensionBuilders.DpProp getWidth()

Gets the width of the border, in DP.

toString

public @NonNull String toString()