SquareBipole

class manim_eng.components.base.bipole.SquareBipole(left: Terminal | None = None, right: Terminal | None = None, **kwargs: Any)

Bases: Bipole

Base class for bipole components with a more square footprint.

Parameters:
  • left (Terminal | None) – The terminal to use as the left connection point for the component. If left unspecified, the terminal will be in the default position for the left terminal of a square bipole.

  • right (Terminal | None) – The terminal to use as the right connection point for the component. If left unspecified, the terminal will be in the default position for the right terminal of a square bipole.

Attributes

SquareBipole.animate

Used to animate the application of any method of self.

SquareBipole.animation_overrides

SquareBipole.color

SquareBipole.depth

The depth of the mobject.

SquareBipole.fill_color

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

SquareBipole.height

The height of the mobject.

SquareBipole.left

Return the left-hand terminal of the component.

SquareBipole.n_points_per_curve

SquareBipole.right

Return the right-hand terminal of the component.

SquareBipole.sheen_factor

SquareBipole.stroke_color

SquareBipole.terminals

The list of terminals of the component.

SquareBipole.width

The width of the mobject.