Continuous

data class Continuous(val thickness: Dp = Defaults.LINE_SPEC_THICKNESS_DP.dp, val cap: StrokeCap = StrokeCap.Butt) : LineCartesianLayer.LineStroke

Produces a continuous stroke.

Constructors

Link copied to clipboard
constructor(thickness: Dp = Defaults.LINE_SPEC_THICKNESS_DP.dp, cap: StrokeCap = StrokeCap.Butt)

Properties

Link copied to clipboard

the stroke cap.

Link copied to clipboard
open override val thickness: Dp

The stroke thickness.

Functions

Link copied to clipboard
open override fun apply(context: CartesianDrawingContext, paint: Paint)

Applies the stroke style to paint.