Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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