Hide menu
Loading...
Searching...
No Matches
DrawingGeometry

Base class for geometry drawing elements.

Extends

Extended by

Constructors

Constructor

new DrawingGeometry(): Geometry

Returns

Geometry

Inherited from

Element.constructor

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

Element.id


uuid

Get Signature

get uuid(): `${string}-${string}-${string}-${string}-${string}` | null

UUID of the drawing element.

The value is null if no UUID is assigned.

Returns

`${string}-${string}-${string}-${string}-${string}` | null

Set Signature

set uuid(uuid): void

Sets the UUID of the drawing element.

Parameters

uuid

`${string}-${string}-${string}-${string}-${string}` | null

UUID to assign to the drawing element.

Returns

void

Inherited from

Element.uuid

Methods

accept()

abstract accept(visitor): void

Accepts a drawing element visitor.

Parameters

visitor

ElementVisitor

Visitor to accept.

Returns

void

Inherited from

Element.accept