Path

fun IsometricScope.Path(path: Path, color: IsoColor = LocalDefaultColor.current, position: Point = Point(0.0, 0.0, 0.0), rotation: Double = 0.0, scale: Double = 1.0, rotationOrigin: Point? = null, scaleOrigin: Point? = null, visible: Boolean = true)

Add a raw 2D path to the isometric scene.

Parameters

path

The 2D path to render

color

The color of the path (defaults to LocalDefaultColor)

position

Local position offset

rotation

Local rotation around Z axis

scale

Local scale factor

rotationOrigin

Origin point for rotation

scaleOrigin

Origin point for scaling

visible

Whether the path is visible

See also