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