new CGObject(viewer, options, meta)
Create a new CGObject.
Name | Type | Description |
---|---|---|
viewer |
Viewer |
The viewer |
options |
Object |
Attributes used to create the bookmark |
meta |
Object |
optional
User-defined Meta data to add to the bookmark. |
Members
-
canvasCanvas
-
Get the canvas.
-
layoutLayout
-
Get the layout.
-
metaBoolean
-
Get or Set the meta data of this object. See the meta data tutorial for details.
-
sequenceSequence
-
Get the sequence.
-
viewerViewer
-
Get the viewer.
-
visibleBoolean
-
Get or Set the visibility of this object.
Methods
-
deleteFromObjects()
-
Remove the object from Viewer.objects
-
toString(){String}
-
Return the class name as a string.
Returns:
Type Description String - 'CGObject'