Skip to main content

Interface: ReactionArrowOptions

Defined in: src/mobjects/chemistry/ReactionArrow.ts:59

Options for a ReactionArrow.

Properties​

color?​

optional color: string

Defined in: src/mobjects/chemistry/ReactionArrow.ts:71

Shaft and head color. Default: WHITE.


conditionsAbove?​

optional conditionsAbove: string

Defined in: src/mobjects/chemistry/ReactionArrow.ts:67

Label centered just above the arrow midpoint (for example 'cat., heat'). Omit for no label.


conditionsBelow?​

optional conditionsBelow: string

Defined in: src/mobjects/chemistry/ReactionArrow.ts:69

Label centered just below the arrow midpoint (for example 'H2O'). Omit for no label.


end​

end: Vector3Tuple

Defined in: src/mobjects/chemistry/ReactionArrow.ts:63

Head of the arrow (the product side).


fontSize?​

optional fontSize: number

Defined in: src/mobjects/chemistry/ReactionArrow.ts:75

Condition label font size in points. Default: 24.


kind?​

optional kind: ReactionArrowKind

Defined in: src/mobjects/chemistry/ReactionArrow.ts:65

The reaction symbol. Default: 'forward'.


start​

start: Vector3Tuple

Defined in: src/mobjects/chemistry/ReactionArrow.ts:61

Tail of the arrow (the reactant side).


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/chemistry/ReactionArrow.ts:73

Stroke width in pixels. Default: Manim's default.