On this page

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
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
aspect_ratiopositional or keywordfloat16.0 / 9.0
heightpositional or keywordfloat4
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration

ScreenRectangle.aspect_ratio

ScreenRectangle.aspect_ratio(self) -> float

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: float

No docstring declared here. Consult the source and host reference.

Source declaration

ScreenRectangle.aspect_ratio

ScreenRectangle.aspect_ratio(self, value: float) -> None

Decorators: aspect_ratio.setter

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
valuepositional or keywordfloatNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration