Battery¶
- manim_eng.components.cells.Battery¶
Attributes
Battery.animateUsed to animate the application of any method of
self.Battery.animation_overridesBattery.anodeReturn the anode (positive terminal) of the source.
Battery.cathodeReturn the cathode (negative terminal) of the source.
Battery.colorBattery.depthThe depth of the mobject.
Battery.fill_colorIf there are multiple colors (for gradient) this returns the first one
Battery.heightThe height of the mobject.
Battery.leftReturn the left-hand terminal of the component.
Battery.n_points_per_curveBattery.negativeReturn the negative (left-hand) terminal of the source.
Battery.positiveReturn the positive (right-hand) terminal of the source.
Battery.rightReturn the right-hand terminal of the component.
Battery.sheen_factorBattery.stroke_colorBattery.terminalsThe list of terminals of the component.
Battery.widthThe width of the mobject.
alias of
DoubleCell