Brace
from noon import Brace
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: _compat.VMobject. Declared members follow; inherited and dynamically attached members are not expanded.
ManimCE v0.21 Brace whose path/layout policy is owned by shared Rust.
Brace.__init__
Brace.__init__(self, mobject: _base.Mobject, direction: object=_base.DOWN, buff: float=0.2, sharpness: float=2.0, stroke_width: float=0.0, fill_opacity: float=1.0, background_stroke_width: float=0.0, background_stroke_color: object=_base.BLACK, **kwargs: Any) -> None
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobject | positional or keyword | _base.Mobject | No default |
direction | positional or keyword | object | _base.DOWN |
buff | positional or keyword | float | 0.2 |
sharpness | positional or keyword | float | 2.0 |
stroke_width | positional or keyword | float | 0.0 |
fill_opacity | positional or keyword | float | 1.0 |
background_stroke_width | positional or keyword | float | 0.0 |
background_stroke_color | positional or keyword | object | _base.BLACK |
kwargs | **kwargs | Any | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.
Brace.get_tip
Brace.get_tip(self) -> _base.Vec2
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: _base.Vec2
Return the pinned ManimCE v0.21 brace-tip anchor.
Brace.get_direction
Brace.get_direction(self) -> _base._Direction3
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: _base._Direction3
Return the normalized direction from brace center to brace tip.
Brace.put_at_tip
Brace.put_at_tip(self, mob: _base.Mobject, use_next_to: bool=True, **kwargs: Any) -> Brace
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mob | positional or keyword | _base.Mobject | No default |
use_next_to | positional or keyword | bool | True |
kwargs | **kwargs | Any | No default |
Return annotation: Brace
Place ``mob`` at the brace tip using ordinary retained layout operations.
Brace.get_text
Brace.get_text(self, *text: str, **kwargs: Any)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
text | *args | str | No default |
kwargs | **kwargs | Any | No default |
Return annotation: Not annotated
Construct upstream ``Tex`` at the tip once retained Tex is available.
Brace.get_tex
Brace.get_tex(self, *tex: str, **kwargs: Any)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
tex | *args | str | No default |
kwargs | **kwargs | Any | No default |
Return annotation: Not annotated
Construct upstream ``MathTex`` at the tip once retained MathTex is available.