LayoutElementBuilders.StrokeCapProp


@RequiresSchemaVersion(major = 1, minor = 200)
public final class LayoutElementBuilders.StrokeCapProp


An extensible StrokeCap property.

Summary

Nested types

Builder for StrokeCapProp

Public methods

@Nullable ModifiersBuilders.Shadow

Gets the stroke cap's shadow.

int

Gets the value.

@NonNull String

Public methods

getShadow

Added in 1.1.0
public @Nullable ModifiersBuilders.Shadow getShadow()

Gets the stroke cap's shadow. When set, the stroke cap will be drawn with a shadow, which allows it to be visible on top of other similarly colored elements.

Only opaque colors are supported in ArcLine if a shadow is set. Any transparent colors will have their alpha component set to 0xFF (opaque).

getValue

Added in 1.0.0
public int getValue()

Gets the value.

toString

public @NonNull String toString()