MCPcopy
hub / github.com/ManimCommunity/manim / is_off_screen

Method is_off_screen

manim/mobject/mobject.py:1723–1730  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1721 return self
1722
1723 def is_off_screen(self):
1724 if self.get_left()[0] > config["frame_x_radius"]:
1725 return True
1726 if self.get_right()[0] < -config["frame_x_radius"]:
1727 return True
1728 if self.get_bottom()[1] > config["frame_y_radius"]:
1729 return True
1730 return self.get_top()[1] < -config["frame_y_radius"]
1731
1732 def stretch_about_point(self, factor: float, dim: int, point: Point3DLike) -> Self:
1733 return self.stretch(factor, dim, about_point=point)

Callers

nothing calls this directly

Calls 4

get_leftMethod · 0.95
get_rightMethod · 0.95
get_bottomMethod · 0.95
get_topMethod · 0.95

Tested by

no test coverage detected