BondStyle

Source: GLModel.ts

Style override for one entry in an atom's bonds array. Atom line or stick
styles must also be enabled for the corresponding representation to appear.


Instance Fields

color1: ColorSpec

Color of the half adjacent to the atom holding this bond style.

color2: ColorSpec

Color of the half adjacent to the bonded atom.

dashedBondConfig: DashedBondSpec

Override dashed bond colors for this specific bond

dashedBondFlip: boolean

Override which side of a fractional bond (e.g. aromatic 1.5) gets the dashed line.
true = dashed on +v side, false = dashed on -v side.
When absent, automatically determined via ring detection.

iswire: boolean

Draw this bond with line geometry when true, or stick geometry otherwise.

radius: number

Override stick radius in angstroms.

singleBond: boolean

Render a multiple bond as a single bond without changing its bond order.