Tangent¶
Qualified name: manimextra.geometry.Tangent
- class manimextra.geometry.Tangent(circle, dot, is_other_tangent=False, **kwargs)¶
Bases:
LineA 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_tangentAttributes
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
- _original__init__(circle, dot, is_other_tangent=False, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.