drawComposition

fun Program.drawComposition(    documentBounds: CompositionDimensions = CompositionDimensions(0.0.pixels, 0.0.pixels, this.drawer.width.toDouble().pixels, this.drawer.height.toDouble().pixels),     composition: Composition? = null,     cursor: GroupNode? = composition?.root as? GroupNode,     drawFunction: CompositionDrawer.() -> Unit): Composition
fun Program.drawComposition(    documentBounds: Rectangle,     composition: Composition? = null,     cursor: GroupNode? = composition?.root as? GroupNode,     drawFunction: CompositionDrawer.() -> Unit): Composition

Sources

Link copied to clipboard
Link copied to clipboard