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