DashPattern

data class DashPattern(val onLengthPx: Float, val offLengthPx: Float, val phasePx: Float = 0.0f)(source)

Typed dash geometry retained without exposing the firmware float array.

Constructors

Link copied to clipboard
constructor(onLengthPx: Float, offLengthPx: Float, phasePx: Float = 0.0f)

Properties

Link copied to clipboard

Length of each gap in physical pixels.

Link copied to clipboard

Length of each painted segment in physical pixels.

Link copied to clipboard

Non-negative offset into the repeating dash pattern.