Skip to main content

graphics.ellipse()

graphics.ellipse(param_table)
graphics.ellipse(x, y, radius_x, radius_y)

This function creates a SimpleGeometry object as a ellipse.

Parameters

ParameterTypeDescription
param_tabletableThis parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section.
xnumberX-coordinate of the center point of the ellipse.
ynumberY-coordinate of the center point of the ellipse.
radius_xnumberX-radius of the ellipse.
radius_ynumberY-radius of the ellipse.

Parameters Table

KeyTypeDescription
xnumberX-coordinate of the center point of the ellipse.
ynumberY-coordinate of the center point of the ellipse.
radius_xnumberX-radius of the ellipse.
radius_ynumberY-radius of the ellipse.

Return Values

This function returns a SimpleGeometry object.

See Also