Class: Render3DOptionUtils

Kekule.Render. Render3DOptionUtils

new Render3DOptionUtils()

Help methods to manipulate render3DOptions property of a chem structure object.
Source:

Methods

(static) convertConfigsToPlainHash(render3DConfigs) → {Hash}

Convert the whole Kekule.Render.Render3DConfigs instance into a one-level hash object.
Parameters:
Name Type Description
render3DConfigs Kekule.Render.Render2DConfigs
Source:
Returns:
Type
Hash

(static) getConnectorRenderType(renderOptions) → {Int}

Retrieve bond render type from render3DOptions of a chem object.
Parameters:
Name Type Description
renderOptions Object
Source:
Returns:
Type
Int