Skip to main content

Interface: BondRender

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

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

Properties​

from​

from: number

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

Index of the first atom.


lines​

lines: Mobject[]

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

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:88

Bond order.


to​

to: number

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

Index of the second atom.


type​

type: BondStyle

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

Bond style.