ScreenRectangle#
Qualified name: manim.mobject.frame.ScreenRectangle
- class ScreenRectangle(aspect_ratio=1.7777777777777777, height=4, **kwargs)[source]#
Bases:
RectangleMethods
Attributes
animateUsed to animate the application of any method of
self.animation_overridesThe aspect ratio.
colordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
- property aspect_ratio#
The aspect ratio.
When set, the width is stretched to accommodate the new aspect ratio.