LayoutElementBuilders.StrokeCapProp


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


An extensible StrokeCap property.

Summary

Public functions

ModifiersBuilders.Shadow?

Gets the stroke cap's shadow.

Int

Gets the value.

String

Public functions

getShadow

Added in 1.1.0
fun getShadow(): ModifiersBuilders.Shadow?

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
fun getValue(): Int

Gets the value.

toString

fun toString(): String