new MolRepositoryItem2D()
A base class for molecule structure based repository item.
Properties:
Name | Type | Description |
---|---|---|
molManipulationCenterCoord |
Hash | The center 2D coord in rotation in editor. Set to null to use the default one. |
molManipulationDefDirectionCoord |
Hash | The default reference direction vector (from center) during rotation in editor. |
Extends
Methods
-
getRefLength() → {Float}
-
Returns ref length to adjust repository object coord and size in editor.
- Inherited From:
- Source:
Returns:
- Type
- Float
-
getScale() → {Float}
-
Returns default scale level of this repository object when adding to editor.
- Inherited From:
- Source:
Returns:
- Type
- Float
-
initialize()