Skip to main content

Interface: TangentLineOptions

Defined in: mobjects/geometry/AngleShapes.ts:747

Options for creating a TangentLine

Properties

color?

optional color: string

Defined in: mobjects/geometry/AngleShapes.ts:753

Stroke color. Default: Manim's blue (#58C4DD)


dT?

optional dT: number

Defined in: mobjects/geometry/AngleShapes.ts:757

Small offset for numerical derivative calculation. Default: 0.001


length?

optional length: number

Defined in: mobjects/geometry/AngleShapes.ts:751

Length of the tangent line. Default: 2


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/geometry/AngleShapes.ts:755

Stroke width. Default: 4


t?

optional t: number

Defined in: mobjects/geometry/AngleShapes.ts:749

Parameter t (0-1) for where to place the tangent on the curve. Default: 0.5