Skip to content

Documentation / @finchart/tools / Pitchfork

Interface: Pitchfork ​

Defined in: tools/src/drawings.ts:227

Andrews' pitchfork: a median ray from a through the midpoint of b–c, and two tines from b and c carrying the median's price-space direction. Only the standard fork today; a variant would be an optional field on this kind, not a new kind.

Extends ​

  • DrawingIdentity

Properties ​

a ​

a: Anchor

Defined in: tools/src/drawings.ts:229


b ​

b: Anchor

Defined in: tools/src/drawings.ts:230


c ​

c: Anchor

Defined in: tools/src/drawings.ts:231


id ​

id: string

Defined in: tools/src/drawings.ts:74

Inherited from ​

DrawingIdentity.id


style? ​

optional style?: Partial<LineStyle>

Defined in: tools/src/drawings.ts:85

Per-drawing override — the third layer of the same resolution the toolbox already does (theme variables → toolbox override → this). The same Partial<LineStyle> shape, deliberately: one leaf vocabulary (width·color·dashArray), not a second one.

The values are literals, not theme tokens — a canvas can't read var(), and this is a saved value. A drawing colored by hand keeps its color across a theme switch; absent means "the theme's".

Inherited from ​

DrawingIdentity.style


type ​

type: "pitchfork"

Defined in: tools/src/drawings.ts:228