SquareBipole¶
- class manim_eng.components.base.bipole.SquareBipole(left: Terminal | None = None, right: Terminal | None = None, **kwargs: Any)¶
Bases:
BipoleBase 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.animateUsed to animate the application of any method of
self.SquareBipole.animation_overridesSquareBipole.colorSquareBipole.depthThe depth of the mobject.
SquareBipole.fill_colorIf there are multiple colors (for gradient) this returns the first one
SquareBipole.heightThe height of the mobject.
SquareBipole.leftReturn the left-hand terminal of the component.
SquareBipole.n_points_per_curveSquareBipole.rightReturn the right-hand terminal of the component.
SquareBipole.sheen_factorSquareBipole.stroke_colorSquareBipole.terminalsThe list of terminals of the component.
SquareBipole.widthThe width of the mobject.