DoubleCell¶
- class manim_eng.components.cells.DoubleCell(voltage: str | None = None, **kwargs: Any)¶
Bases:
CellsCircuit symbol for a double cell (often used to represent a battery).
- Parameters:
voltage (str | None) – Voltage label to set on creation, if desired. Takes a TeX math mode string.
Attributes
DoubleCell.animateUsed to animate the application of any method of
self.DoubleCell.animation_overridesDoubleCell.anodeReturn the anode (positive terminal) of the source.
DoubleCell.cathodeReturn the cathode (negative terminal) of the source.
DoubleCell.colorDoubleCell.depthThe depth of the mobject.
DoubleCell.fill_colorIf there are multiple colors (for gradient) this returns the first one
DoubleCell.heightThe height of the mobject.
DoubleCell.leftReturn the left-hand terminal of the component.
DoubleCell.n_points_per_curveDoubleCell.negativeReturn the negative (left-hand) terminal of the source.
DoubleCell.positiveReturn the positive (right-hand) terminal of the source.
DoubleCell.rightReturn the right-hand terminal of the component.
DoubleCell.sheen_factorDoubleCell.stroke_colorDoubleCell.terminalsThe list of terminals of the component.
DoubleCell.widthThe width of the mobject.