abstractMarkupEntity
Hierarchy
Index
Properties
Accessors
Methods
Properties
publicreadonlyid
publicreadonlyproperties
Accessors
isEnabled
Returns
true
if the entity and the sheet it belongs to are both enabled, otherwisefalse
.Returns boolean
Sets if entity is enabled
Parameters
b: boolean
Returns void
sheet
Returns the markup sheet that the entity is attached to
Returns MarkupSheet2D
Methods
abstractclone
Makes a deep copy of this entity
Returns MarkupEntityBase
abstractcopyTo
Copy the entity to another markup sheet.
Parameters
sheet: MarkupSheet2D
Markup sheet to copy the entity to.
Returns MarkupEntity
The new markup entity.
abstractisEqual
Compares if this entity is equal to another entity
Parameters
Returns boolean
markAsDeleted
Marks the entity as deleted in the MarkupSheet2D.
Returns boolean
true
if object was deleted. Otherwisefalse
.
markAsUpdated
Sets the entity as updated in the layer API.
Returns boolean
true
if object did exist, otherwisefalse
onAdded
Called when this entity is added
Parameters
Returns void
onDelete
Called when this entity is deleted
Parameters
Returns void
onUpdate
Called when this entity is updated
Parameters
Returns void
Super class for markup entities in the markup API.