add

abstract fun add(shape: Shape, color: IsoColor)

Add a shape to the scene graph.


abstract fun add(path: Path, color: IsoColor, originalShape: Shape? = null, id: String? = null, ownerNodeId: String? = null)

Add a path to the scene graph with optional metadata.