MarkupLine
Hierarchy
- MarkupEntity
- MarkupLine
Implements
Index
Properties
publicreadonlyid
linePoints
publicreadonlyproperties
style
Type declaration
backgroundColor: Color4
thickness
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 MarkupLine
copyFrom
Parameters
line: MarkupLine
Returns void
copyTo
Copy the line to another markup sheet.
Parameters
sheet: MarkupSheet2D
Markup sheet to copy the line to.
Returns MarkupLine
The new markup line entity.
isEqual
Compares if this entity is equal to another entity
Parameters
o: MarkupLine
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 line in the markup API.