Functions

Link copied to clipboard
open fun arc(x: Double, y: Double, radius: Double, startAngle: Double, endAngle: Double, counterclockwise: Boolean = definedExternally)
Link copied to clipboard
open fun arcTo(x1: Double, y1: Double, x2: Double, y2: Double, radius: Double)
Link copied to clipboard
open fun bezierCurveTo(cp1x: Double, cp1y: Double, cp2x: Double, cp2y: Double, x: Double, y: Double)
Link copied to clipboard
Link copied to clipboard
open fun ellipse(    x: Double,     y: Double,     radiusX: Double,     radiusY: Double,     rotation: Double,     startAngle: Double,     endAngle: Double,     counterclockwise: Boolean = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun rect(x: Double, y: Double, w: Double, h: Double)
Link copied to clipboard
open fun roundRect(x: Double, y: Double, w: Double, h: Double, radii: JsAny = definedExternally)