LineNode
open class LineNode(line: Line, var style: ShapeStyle = ShapeStyle.LINE, var tags: Set<String> = emptySet()) : Line, PrimitiveNode
A scene-graph leaf that is a Line: the line's geometry carrying the concrete style it renders with, plus optional tags.
Construction copies line's components, so the leaf carries the same geometry at full Double precision. Everything a Line offers is inherited, and every operation typed against Line accepts the leaf as-is — the shape-preserving operations, canonical included, return through copy and come back as the leaf, style and tags riding along; everything else returns plain shapes.
Parameters
line
The geometry to decorate; its components are copied.
style
The concrete paint; the line default when omitted.
tags
Free-form tokens riding the leaf; empty by default.
Constructors
Link copied to clipboard
Builds the leaf around line's geometry.