diff --git a/orx-jvm/orx-axidraw/src/main/kotlin/Axidraw.kt b/orx-jvm/orx-axidraw/src/main/kotlin/Axidraw.kt index 72ce0d69..39c51c8e 100644 --- a/orx-jvm/orx-axidraw/src/main/kotlin/Axidraw.kt +++ b/orx-jvm/orx-axidraw/src/main/kotlin/Axidraw.kt @@ -286,7 +286,7 @@ class Axidraw(val program: Program, paperSize: PaperSize, orientation: PaperOrie * Use any methods and properties like contour(), segment(), fill, stroke, etc. */ fun draw(f: CompositionDrawer.() -> Unit) { - design.draw(f) + design.draw(drawFunction = f) } private fun runCMD(args: List, hold: Boolean = true) {