ModifiersBuilders.Border

public final class ModifiersBuilders.Border


A modifier to apply a border around an element.

Summary

Nested types

ModifiersBuilders.Border.Builder

Builder for Border

Public methods

static @NonNull ModifiersBuilders.Border.Builder

Returns a new Builder.

@Nullable ColorBuilders.ColorProp

Gets the color of the border.

@Nullable DimensionBuilders.DpProp

Gets the width of the border, in DP.

Public methods

builder

@NonNull
public static ModifiersBuilders.Border.Builder builder()

Returns a new Builder.

getColor

@Nullable
@NonNull
public ColorBuilders.ColorProp getColor()

Gets the color of the border. Intended for testing purposes only.

getWidth

@Nullable
@NonNull
public DimensionBuilders.DpProp getWidth()

Gets the width of the border, in DP. Intended for testing purposes only.