KoneCanvasSvg4ktContext

Constructors

Link copied to clipboard
constructor(contextRegistry: KoneCanvasContextRegistry)

Types

Link copied to clipboard
object Companion

Properties

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)
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.ellipse(center: Point2<Double>, size: Vector2<Double>, rotation: Angle = Angle.zero, fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)
Link copied to clipboard
Link copied to clipboard
context(controller: KoneCanvasController)
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)
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.polygon(vertices: KoneList<Point2<Double>>, fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)
Link copied to clipboard
context(controller: KoneCanvasController)
fun KoneCanvasSvg4ktContext.rectangle(center: Point2<Double>, size: Vector2<Double>, rotation: Angle = Angle.zero, fillColor: KoneColor? = null, strokeColor: KoneColor? = null, strokeWidth: Double = 0.0)