KoneCanvasSvg4ktContext
Functions
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.circle(center: Point2<Double>, radius: Double, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0, fillColor: KoneColor? = null)
fun KoneCanvasSvg4ktContext.circle(center: Point2<Double>, radius: Double, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0, fillColor: KoneColor? = null)
Link copied to clipboard
inline fun KoneCanvasSvg4ktContext.group(transformation: KoneCanvasTransformationContext.() -> Unit, groupBody: KoneCanvasSvg4ktContext.() -> Unit)
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.line(start: Point2<Double>, end: Point2<Double>, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)
fun KoneCanvasSvg4ktContext.line(start: Point2<Double>, end: Point2<Double>, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)
Link copied to clipboard
context(controller: KoneCanvasController)
inline fun KoneCanvasSvg4ktContext.path(fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0, pathBuilderBlock: KoneCanvasPathContext.() -> Unit)
inline fun KoneCanvasSvg4ktContext.path(fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0, pathBuilderBlock: KoneCanvasPathContext.() -> Unit)
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.polygon(vertices: KoneList<Point2<Double>>, fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)
fun KoneCanvasSvg4ktContext.polygon(vertices: KoneList<Point2<Double>>, fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)