Continuous

data class Continuous(val thicknessDp: Float = Defaults.LINE_SPEC_THICKNESS_DP, val cap: Paint.Cap = Paint.Cap.ROUND) : LineCartesianLayer.LineStroke

Produces a continuous stroke.

Constructors

Link copied to clipboard
constructor(thicknessDp: Float = Defaults.LINE_SPEC_THICKNESS_DP, cap: Paint.Cap = Paint.Cap.ROUND)

Properties

Link copied to clipboard

the stroke cap.

Link copied to clipboard
open override val thicknessDp: Float

The stroke thickness (in dp).

Functions

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

Applies the stroke style to paint.