Skip to content

Commit

Permalink
Fix doc issue (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Apr 9, 2023
1 parent 1aef1ac commit df0cc87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arcade/draw_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def draw_ellipse_filled(center_x: float, center_y: float,
:param RGBA255 color: Either a :py:class:`~arcade.types.Color` instance
or an RGBA :py:class:`tuple` of 4 byte values (0 to 255).
:param float tilt_angle: Angle in degrees to tilt the ellipse (clockwise).
Useful when drawing a circle with a low segment count, to make an octagon for example.
:param int num_segments: Number of triangle segments that make up this
circle. Higher is better quality, but slower render time.
The default value of -1 means arcade will try to calculate a reasonable
Expand Down Expand Up @@ -297,11 +298,11 @@ def draw_ellipse_outline(center_x: float, center_y: float,
or a :py:class:`~arcade.types.Color` instance.
:param float border_width: Width of the circle outline in pixels.
:param float tilt_angle: Angle in degrees to tilt the ellipse (clockwise).
Useful when drawing a circle with a low segment count, to make an octagon for example.
:param int num_segments: Number of triangle segments that make up this
circle. Higher is better quality, but slower render time.
The default value of -1 means arcade will try to calculate a reasonable
amount of segments based on the size of the circle.
:param float tilt_angle: Tile of the circle. Useful when drawing a circle with a low segment count
"""
window = get_window()
ctx = window.ctx
Expand Down

0 comments on commit df0cc87

Please sign in to comment.