Drawing Zone
Screen space on which you can draw, a DrawingZone is generally given when calling draw functions so the user don't have to think about layering, or absolute positioning, the given DrawingZone is already placed and sized correctly.
Functions
Properties
absolutePosition
Link copied to clipboard
Absolute position of this DrawingZone (its top-left coordinates in screen position).
contentHeight
Link copied to clipboard
Height of this DrawingZone.
contentSize
Link copied to clipboard
Size of this DrawingZone: contentSize = Size(contentWidth, contentHeight).
contentWidth
Link copied to clipboard
Width of this DrawingZone.
dashedLine
Link copied to clipboard
strokeWidth
Link copied to clipboard
Extensions
drawLine
Link copied to clipboard
fun DrawingZone.drawLine(points: List<LinePoint>, curve: PathDrawer, joinMissingValues: Boolean)
Content copied to clipboard
drawPlot
Link copied to clipboard