RedlineItem
- class Markup.Redline.RedlineItem()
Base class for Redline Markup. It should not be used directly.
Constructors
Properties
Methods
Constructors
- RedlineItem.constructor(viewer)
- Arguments
viewer (
WebViewer()) – None
- Return type
RedlineItem
Properties
- RedlineItem._viewer
- Type
WebViewer
Methods
draw
getClassName
- RedlineItem.getClassName()
Gets the fully qualified class name for this markup item. E.g. “Communicator.Markup.Redline.RedlineCircle”
- Returns
fully qualified class name
- Return type
string
hit
hitWithTolerance
onDeselect
- RedlineItem.onDeselect()
Called when this markup item is deselected by the system
- Return type
void
onDragEnd
onDragMove
onDragStart
onSelect
- RedlineItem.onSelect()
Called when this markup item is selected by the system.
- Return type
void
remove
- RedlineItem.remove()
Called when the MarkupItem is removed from the system. Any cleanup that needs to be done should be performed in this method.
- Return type
void
toJson
- RedlineItem.toJson()
Creates an object ready for JSON serialization.
- Returns
The prepared object.
- Return type
object