Tangent

Qualified name: manimextra.geometry.Tangent

class manimextra.geometry.Tangent(circle, dot, is_other_tangent=False, **kwargs)

Bases: Line

A class to represent a tangent to a circle.

Parameters:
  • circle (Circle) – The circle to which the tangent is drawn.

  • dot (Dot) – The point from which the tangent is drawn. It can be on the circle or outside the circle.

  • is_other_tangent (bool, optional) – If True, the tangent is drawn from the other intersection point of the circle and the line, by default False.

Methods

get_other_tangent

Attributes

animate

Used to animate the application of any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.

_original__init__(circle, dot, is_other_tangent=False, **kwargs)

Initialize self. See help(type(self)) for accurate signature.