Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 committed Aug 31, 2024
1 parent 0989fe0 commit 5f3c818
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion manimforge/cairo.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ import cairo
class CairoCamera:
def __init__(self, *args, **kwargs) -> None: ...

def set_cairo_context_path(self, ctx: cairo.Context, vmobject: Any, points: npt.NDArray[np.float64]) -> None: ...
def set_cairo_context_path(self, ctx: cairo.Context, vmobject: Any, points: npt.NDArray[np.float64]) -> None:
"""Traces a VMobject on the :class:`cairo.Context`.
Parameters
----------
ctx: The pycairo context.
vmobject: A Manim Community VMobject
points: A numpy array of floats
"""

def __copy__(self) -> Self: ...

Expand Down

0 comments on commit 5f3c818

Please sign in to comment.