Skip to content

Curve

A chain of edges that is edited as one, such as a polyline from a curve tool.

readonly edges: readonly Edge[]

The edges that make up the curve.


readonly entityId: number

Identifier that stays the same for the entity’s lifetime, including across undo and redo.

Entity.entityId


readonly isDeleted: boolean

Whether the entity was deleted, for example by an edit or by undo.

Entity.isDeleted


readonly isValid: boolean

Whether the entity still exists in the model.

Entity.isValid


readonly type: "Curve" | "ArcCurve"

The concrete class name, for narrowing unions such as AnyElement.

Entity.type