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