kgolokwe
Draws a circle at the given center with the given diameter.
A simpler form of thalaSediko for perfect circles. The first two arguments are the center, and the third is the diameter.
Syntax
Section titled “Syntax”kgolokwe(x, y, bogolo)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | palo | Center x coordinate. |
y | palo | Center y coordinate. |
bogolo | palo | Diameter of the circle. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
}
tiro tshwantsha() {
sefofane(220);
kgolokwe(peebeX, peebeY, 50);
}