LED

class manim_eng.components.diodes.LED(left: Terminal | None = None, right: Terminal | None = None, **kwargs: Any)

Bases: Diode

Circuit symbol for an LED.

Attributes

LED.animate

Used to animate the application of any method of self.

LED.animation_overrides

LED.anode

Return the anode (positive terminal) of the diode.

LED.cathode

Return the cathode (negative terminal) of the diode.

LED.color

LED.depth

The depth of the mobject.

LED.fill_color

If there are multiple colors (for gradient) this returns the first one

LED.height

The height of the mobject.

LED.left

Return the left-hand terminal of the component.

LED.n_points_per_curve

LED.negative

Return the negative terminal of the diode.

LED.positive

Return the positive terminal of the diode.

LED.right

Return the right-hand terminal of the component.

LED.sheen_factor

LED.stroke_color

LED.terminals

The list of terminals of the component.

LED.width

The width of the mobject.