Class: StoredSubgroupRepositoryItem2D

Kekule.Editor. StoredSubgroupRepositoryItem2D

new StoredSubgroupRepositoryItem2D(structData, dataFormat)

A class to store predefined subgroup templates.
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.
inputTexts Array Strings that can direcly used to be insert subgroup, e.g, COOH and CO2H can both input a carboxyl.
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: