abstract AnnotationSystem<TSystem>
Abstract base for all annotation sub-systems operating on a TechnicalDrawing.
Extended by
LinearAnnotationsAngleAnnotationsLeaderAnnotationsBlockAnnotationsSlopeAnnotationsCalloutAnnotations
Type parameters
| Type parameter | Description |
|---|---|
TSystem extends DrawingSystemDescriptor | A DrawingSystemDescriptor that declares the item, data, style, and handle types for this specific system. |
Properties
_item
Internal
readonly_item:TSystem["item"]
Declaration-only type marker. Never set at runtime. Used by
DrawingAnnotations.getBySystem for variance-free type inference:
TypeScript can read TSystem["item"] from this covariant readonly field
without triggering the invariance issues of the styles DataMap events.
Methods
pickHandle()
abstractpickHandle(drawing,ray,threshold?):null|object
Return the closest pickable handle on drawing for the given world-space
ray, or null if nothing is within threshold units.
Parameters
| Parameter | Type |
|---|---|
drawing | TechnicalDrawing |
ray | Ray |
threshold? | number |
Returns
null | object