LED¶
- class manim_eng.components.diodes.LED(left: Terminal | None = None, right: Terminal | None = None, **kwargs: Any)¶
Bases:
DiodeCircuit symbol for an LED.
Attributes
LED.animateUsed to animate the application of any method of
self.LED.animation_overridesLED.anodeReturn the anode (positive terminal) of the diode.
LED.cathodeReturn the cathode (negative terminal) of the diode.
LED.colorLED.depthThe depth of the mobject.
LED.fill_colorIf there are multiple colors (for gradient) this returns the first one
LED.heightThe height of the mobject.
LED.leftReturn the left-hand terminal of the component.
LED.n_points_per_curveLED.negativeReturn the negative terminal of the diode.
LED.positiveReturn the positive terminal of the diode.
LED.rightReturn the right-hand terminal of the component.
LED.sheen_factorLED.stroke_colorLED.terminalsThe list of terminals of the component.
LED.widthThe width of the mobject.