Class: StoredStructFragmentRepositoryItem2D

Kekule.Editor. StoredStructFragmentRepositoryItem2D

new StoredStructFragmentRepositoryItem2D(structData, dataFormat)

A class to store predefined molecule template.
Parameters:
Name Type Description
structData Variant Source data of structfragment.
dataFormat String Format id of structData.
Properties:
Name Type Description
structData Variant Source data of structfragment.
dataFormat String Format id of structData.
Source:

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()

Source: