thalaSediko
Draws an ellipse at the given position with the given width and height.
The first two arguments are the center x and y. The next two are the width and height. For a perfect circle, use the same value for width and height — or use kgolokwe.
Syntax
Section titled “Syntax”thalaSediko(x, y, bophara, boleele)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | palo | Center x coordinate. |
y | palo | Center y coordinate. |
bophara | palo | Width of the ellipse. |
boleele | palo | Height of the ellipse. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
sefofane(220);
tlatsaMmala(255, 0, 0);
thalaSediko(200, 200, 80, 50);
}