PushToMakeSwitch

class manim_eng.components.switches.PushToMakeSwitch(closed: bool = False, **kwargs: Any)

Bases: PushSwitchBase

Component symbol for a push-to-make switch.

Parameters:

closed (bool) – Whether the switch should be initially closed or not. Defaults to open.

Attributes

PushToMakeSwitch.animate

Used to animate the application of any method of self.

PushToMakeSwitch.animation_overrides

PushToMakeSwitch.color

PushToMakeSwitch.depth

The depth of the mobject.

PushToMakeSwitch.fill_color

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

PushToMakeSwitch.height

The height of the mobject.

PushToMakeSwitch.left

Return the left-hand terminal of the component.

PushToMakeSwitch.n_points_per_curve

PushToMakeSwitch.right

Return the right-hand terminal of the component.

PushToMakeSwitch.sheen_factor

PushToMakeSwitch.stroke_color

PushToMakeSwitch.terminals

The list of terminals of the component.

PushToMakeSwitch.width

The width of the mobject.