Hide menu
Loading...
Searching...
No Matches
LinearDimension

Linear dimensions with horizontal, vertical, and aligned dimension lines.

Extends

Constructors

new LinearDimension()

new LinearDimension(firstReferencePoint, secondReferencePoint, dimensionLinePoint, measurementValue?, rotation?): LinearDimension

Parameters

firstReferencePoint

Point2d = ...

First reference point on the drawing geometry that are being measured.

secondReferencePoint

Point2d = ...

Second reference point on the drawing geometry that are being measured.

dimensionLinePoint

Point2d = ...

Dimension line point.

measurementValue?

number

Actual measurement value.

rotation?

RotationType = RotationType.HORIZONTAL

Rotation of the dimension. Determines the type of the linear dimension.

Returns

LinearDimension

Overrides

Dimension.constructor

Properties

arrowheadPlacement

arrowheadPlacement: ArrowheadPlacementType = ArrowheadPlacementType.INTERNAL

Arrowhead placement.

Inherited from

Dimension.arrowheadPlacement


dimensionLinePoint

dimensionLinePoint: Point2d

Dimension line point.


firstArrowType

firstArrowType: ArrowType = ArrowType.CLOSED_FILLED

First arrow type.

Inherited from

Dimension.firstArrowType


firstReferencePoint

firstReferencePoint: Point2d

First reference point on the drawing geometry that are being measured.


isTextAlignedHorizontally

isTextAlignedHorizontally: boolean = false

Indicates whether the measurement text is align horizontally

Inherited from

Dimension.isTextAlignedHorizontally


measurementValue

measurementValue: number = 0

Actual measurement value.

Inherited from

Dimension.measurementValue


rotation

rotation: RotationType = RotationType.HORIZONTAL

Rotation of the dimension. Determines the type of the linear dimension.


secondArrowType

secondArrowType: ArrowType = ArrowType.CLOSED_FILLED

Second arrow type.

Inherited from

Dimension.secondArrowType


secondReferencePoint

secondReferencePoint: Point2d

Second reference point on the drawing geometry that are being measured.


text

text: Text

Dimension text.

Inherited from

Dimension.text

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

Dimension.id


uuid

Get Signature

get uuid(): null | `$string