Skip to main content

Interface: TangentLineOptions

Defined in: src/mobjects/geometry/AngleShapes.ts:821

Options for creating a TangentLine

Properties​

color?​

optional color: string

Defined in: src/mobjects/geometry/AngleShapes.ts:827

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


dT?​

optional dT: number

Defined in: src/mobjects/geometry/AngleShapes.ts:831

Small offset for numerical derivative calculation. Default: 0.001


length?​

optional length: number

Defined in: src/mobjects/geometry/AngleShapes.ts:825

Length of the tangent line. Default: 2


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/geometry/AngleShapes.ts:829

Stroke width. Default: 4


t?​

optional t: number

Defined in: src/mobjects/geometry/AngleShapes.ts:823

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