Source¶
- class manim_eng.components.base.source.Source(**kwargs: Any)¶
Bases:
SquareBipoleBase class of all sources.
Attributes
Source.animateUsed to animate the application of any method of
self.Source.animation_overridesReturn the anode (positive terminal) of the source.
Return the cathode (negative terminal) of the source.
Source.colorSource.depthThe depth of the mobject.
Source.fill_colorIf there are multiple colors (for gradient) this returns the first one
Source.heightThe height of the mobject.
Source.leftReturn the left-hand terminal of the component.
Source.n_points_per_curveReturn the negative (left-hand) terminal of the source.
Return the positive (right-hand) terminal of the source.
Source.rightReturn the right-hand terminal of the component.
Source.sheen_factorSource.stroke_colorSource.terminalsThe list of terminals of the component.
Source.widthThe width of the mobject.