Skip to main content

Interface: BondRender

Defined in: src/mobjects/chemistry/chemistryTypes.ts:79

A resolved bond: its endpoints, order, style and line mobjects.

Properties​

from​

from: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:81

Index of the first atom.


lines​

lines: Mobject[]

Defined in: src/mobjects/chemistry/chemistryTypes.ts:93

The mobjects that draw this bond. A normal bond of order N has N line mobjects; a wedge or dash bond has one. A bond that references a missing atom has none.


order​

order: BondOrder

Defined in: src/mobjects/chemistry/chemistryTypes.ts:85

Bond order.


to​

to: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:83

Index of the second atom.


type​

type: BondStyle

Defined in: src/mobjects/chemistry/chemistryTypes.ts:87

Bond style.