MarkupArea
Hierarchy
- MarkupEntity
- MarkupArea
Implements
Index
Properties
publicreadonlyid
points
publicreadonlyproperties
style
Type declaration
backgroundColor: Color4
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
clone
Makes a deep copy of this entity
Returns MarkupArea
copyFrom
Parameters
area: MarkupArea
Returns void
copyTo
Copy the area to another markup sheet.
Parameters
sheet: MarkupSheet2D
Markup sheet to copy the area to.
Returns MarkupArea
The new markup area entity.
isEqual
Compares if this entity is equal to another entity
Parameters
o: MarkupArea
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
Class representing a markup area in the markup API.