ScreenRectangle
from noon import ScreenRectangle
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: Rectangle. Declared members follow; inherited and dynamically attached members are not expanded.
Manim screen call shape over shared rectangle geometry and bounds.
ScreenRectangle.__init__
ScreenRectangle.__init__(self, aspect_ratio: float=16.0 / 9.0, height: float=4, **kwargs: Any) -> None
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
aspect_ratio | positional or keyword | float | 16.0 / 9.0 |
height | positional or keyword | float | 4 |
kwargs | **kwargs | Any | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.
ScreenRectangle.aspect_ratio
ScreenRectangle.aspect_ratio(self) -> floatDecorators: property
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: float
No docstring declared here. Consult the source and host reference.
ScreenRectangle.aspect_ratio
ScreenRectangle.aspect_ratio(self, value: float) -> NoneDecorators: aspect_ratio.setter
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
value | positional or keyword | float | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.