LinePoint

data class LinePoint(x: Double?, y: Double?, stroke: ColorOrGradient?, strokeLine: DoubleArray?, strokeWidth: Double?)

(INTERNAL) Use this to store every properties of a line point, in order to draw a path.

Constructors

LinePoint
Link copied to clipboard
common
fun LinePoint(x: Double?, y: Double?, stroke: ColorOrGradient?, strokeLine: DoubleArray?, strokeWidth: Double?)

Properties

stroke
Link copied to clipboard
common
val stroke: ColorOrGradient?
Stroke color for this point to the next (may be null).
strokeLine
Link copied to clipboard
common
val strokeLine: DoubleArray?
Line dash from this point to the next (null for solid line).
strokeWidth
Link copied to clipboard
common
val strokeWidth: Double?
Stroke thickness for this point to the next (may be null).
x
Link copied to clipboard
common
val x: Double?
X position of the point (may be null).
y
Link copied to clipboard
common
val y: Double?
Y position of the point (may be null).