PushToBreakSwitch

class manim_eng.components.switches.PushToBreakSwitch(closed: bool = True, **kwargs: Any)

Bases: PushSwitchBase

Component symbol for a push-to-break switch.

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

  • switches ((this is in contrast to the other)

  • open). (which default to)

Attributes

PushToBreakSwitch.animate

Used to animate the application of any method of self.

PushToBreakSwitch.animation_overrides

PushToBreakSwitch.color

PushToBreakSwitch.depth

The depth of the mobject.

PushToBreakSwitch.fill_color

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

PushToBreakSwitch.height

The height of the mobject.

PushToBreakSwitch.left

Return the left-hand terminal of the component.

PushToBreakSwitch.n_points_per_curve

PushToBreakSwitch.right

Return the right-hand terminal of the component.

PushToBreakSwitch.sheen_factor

PushToBreakSwitch.stroke_color

PushToBreakSwitch.terminals

The list of terminals of the component.

PushToBreakSwitch.width

The width of the mobject.