Base class for various dimension types.
Dimension elements show length, angle, radius, and diameter measurements.
new Dimension():
Dimension
Dimension
arrowheadPlacement:
ArrowheadPlacementType=ArrowheadPlacementType.INTERNAL
Arrowhead placement.
The default value is ArrowheadPlacementType.INTERNAL.
firstArrowType:
ArrowType=ArrowType.CLOSED_FILLED
First arrow type.
The default value is ArrowType.CLOSED_FILLED.
isTextAlignedHorizontally:
boolean=false
Indicates whether the measurement text is aligned horizontally.
measurementValue:
number=0
Actual measurement value.
secondArrowType:
ArrowType=ArrowType.CLOSED_FILLED
Second arrow type.
The default value is ArrowType.CLOSED_FILLED.
text:
Text
Dimension text.
get id():
bigint
Returns the unique identifier of the object.
bigint
get uuid():
`${string}-${string}-${string}-${string}-${string}`|null
UUID of the drawing element.
The value is null if no UUID is assigned.
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets the UUID of the drawing element.
`${string}-${string}-${string}-${string}-${string}` | null
UUID to assign to the drawing element.
void
abstractaccept(visitor):void
Accepts a drawing element visitor.
Visitor to accept.
void