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.
LinearDimension
arrowheadPlacement:
ArrowheadPlacementType=ArrowheadPlacementType.INTERNAL
Arrowhead placement.
AngularDimension.arrowheadPlacement
dimensionLinePoint:
Point2d
Dimension line point.
firstArrowType:
ArrowType=ArrowType.CLOSED_FILLED
First arrow type.
AngularDimension.firstArrowType
firstReferencePoint:
Point2d
First reference point on the drawing geometry that are being measured.
isTextAlignedHorizontally:
boolean=false
Indicates whether the measurement text is align horizontally
AngularDimension.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.
AngularDimension.secondArrowType
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():
`${string}-${string}-${string}-${string}-${string}`|null
Returns uuid of the drawing element. null if the drawing element has no assigned uuid (by default).
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets uuid of the drawing element.
Uuid of the drawing element.
`${string}-${string}-${string}-${string}-${string}` | null
void
accept(
visitor):void
Accepts a drawing element visitor.
Accepted drawing element visitor.
void