Skip to main content

Function: flipDrawdown()

flipDrawdown(drawdown, horiz): Drawdown

Defined in: draft/draft.ts:940

flips the drawdown horizontally or vertically. This is different than flip draft because it only flippes teh drawdown, not any other associated information

Parameters​

drawdown​

Drawdown

the drawdown to shift

horiz​

boolean

true for horizontal flip, false for vertical

Returns​

Drawdown

the flipped drawdown