diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py index 19cb14d591..9c21e7cd6e 100644 --- a/manim/mobject/types/vectorized_mobject.py +++ b/manim/mobject/types/vectorized_mobject.py @@ -54,6 +54,8 @@ from manim.typing import ( CubicBezierPath, + CubicBezierPathLike, + CubicBezierPoints_Array, CubicBezierPointsLike, CubicSpline, FloatRGBA, @@ -2703,7 +2705,8 @@ def set_location(self, new_loc: Point3D): class CurvesAsSubmobjects(VGroup): - """Convert a curve's elements to submobjects. + """Converts every single cubic Bezier points set(comprising 4 points) of the given VMobject, + into a VMobject and stores it in a container VGroup. Examples -------- @@ -2729,7 +2732,7 @@ def __init__(self, vmobject: VMobject, **kwargs) -> None: self.add(part) def point_from_proportion(self, alpha: float) -> Point3D: - """Gets the point at a proportion along the path of the :class:`CurvesAsSubmobjects`. + """Returns the point at a proportion along the path of the :class:`CurvesAsSubmobjects`. Parameters ----------