Optional__Hidden identifier linking runtime object to its source code location.
OptionalcolourCSS stroke colour. An empty value uses the canvas stroke style.
Start point of the line.
End point of the line.
OptionalphysicsInitial physics configuration.
OptionalpositionTransform origin for local endpoints. Defaults to p1 for existing lines.
OptionalrotationInitial rotation in radians.
OptionaltagUnique tag for identification.
OptionalvisibleWhether the line is initially visible.
OptionalwidthStroke width of the line.
OptionalzRender order (lower is background).
Configuration for creating a Line object.