Class: MolRingRepositoryItem2D

Kekule.Editor. MolRingRepositoryItem2D

new MolRingRepositoryItem2D(ringAtomCount, bondLength)

A base class to generate ring structure based repository item.
Parameters:
Name Type Description
ringAtomCount Int Atom count on ring.
bondLength Float Default bond length to generate ring.
Properties:
Name Type Description
ringAtomCount Int Atom count on ring.
bondLength Float Default bond length to generate ring.
isAromatic Bool Whether this ring is a aromatic one (single/double bond intersect),
enableCoordCache Bool
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: