SymbolDefinitionRef class final

A symbol definition a kit's code uses (spec 2b S2): a parametric type generates instances of it (E5), a tool places it. Every value is in the definition's space.

Constructors

SymbolDefinitionRef({required Handle handle, required DraftCommand? add, required Vector2 basePoint, required Aabb2 top})
const

Properties

add → DraftCommand?
One command that adds the definition, its leaves and its jetcad.symbol and jetcad.unit (the plan's symbol placer's), or null when the document holds the definition. Executed once, before or with the first command that uses handle.
final
basePoint → Vector2
The definition's base point.
final
handle → Handle
The definition's handle in the current document: a definition it holds, or the one add adds.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → Aabb2
The definition's first leaf's box when that leaf is a closed polyline or a circle (a unit's served top), else the definition's box. unitLabelAttrib's top.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited