etki.shp.Oval

Oval

Creates an oval of a specified height and width.

class etki.shp.Oval(x, y, width, height, *, fillcolor='black', bordercolor='black', rotateAngle=0)

The origin of this shape is the center.

Argument
Purpose
Type
Note

x

Sets how far from the left the Oval is

float

y

Sets how far from the bottom the Oval is

float

width

Sets how wide the Oval is from the center

float

height

Sets how high the Oval is from the center

float

fillcolor

Sets the fill color of the Circle

str

Optional

bordercolor

Sets the border color of the Circle

str

Optional

rotateAngle

Sets the angle counter-clockwise

float

Optional

Last updated