new PathGlyphRepositoryItem2D(glyphClass, glyphRefLength)
A base class to generate path glyphs.
Parameters:
Name | Type | Description |
---|---|---|
glyphClass |
Class | Class to create glyph. |
glyphRefLength |
Float | Default length to generate glyph. |
Properties:
Name | Type | Description |
---|---|---|
glyphInitialParams |
Hash | Initial params to create glyph. |
glyphClass |
Class | Class to create glyph. |
glyphRefLength |
Float | Default length to generate glyph. |
glyphInitialParams |
Hash | Initial params to create glyph. |
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()
-
isOneStructureFragmentObj() → {Bool}
-
Returns if repository object created is one molecule (structure fragment).
- Inherited From:
- Source:
Returns:
- Type
- Bool