Linear dimensions with horizontal, vertical, and aligned dimension lines.
new LinearDimension(
firstReferencePoint,secondReferencePoint,dimensionLinePoint,measurementValue?,rotation?):LinearDimension
Point2d = ...
First reference point on the drawing geometry that are being measured.
Point2d = ...
Second reference point on the drawing geometry that are being measured.
Point2d = ...
Dimension line point.
number
Actual measurement value.
RotationType = RotationType.HORIZONTAL
Rotation of the dimension. Determines the type of the linear dimension.
arrowheadPlacement:
ArrowheadPlacementType=ArrowheadPlacementType.INTERNAL
Arrowhead placement.
dimensionLinePoint:
Point2d
Dimension line point.
firstArrowType:
ArrowType=ArrowType.CLOSED_FILLED
First arrow type.
firstReferencePoint:
Point2d
First reference point on the drawing geometry that are being measured.
isTextAlignedHorizontally:
boolean=false
Indicates whether the measurement text is align horizontally
Dimension.isTextAlignedHorizontally
measurementValue:
number=0
Actual measurement value.
rotation:
RotationType=RotationType.HORIZONTAL
Rotation of the dimension. Determines the type of the linear dimension.
secondArrowType:
ArrowType=ArrowType.CLOSED_FILLED
Second arrow type.
secondReferencePoint:
Point2d
Second reference point on the drawing geometry that are being measured.
text:
Text
Dimension text.
get id():
bigint
Returns object id.
bigint
get uuid():
null| `$string