thalaKanefase
SETSWANA TRANSLATION: Creates the drawing canvas at the given width and height.
SETSWANA TRANSLATION: Call thalaKanefase once inside setaLoeto to create the canvas your sketch will draw onto. Width and height are in pixels.
SETSWANA TRANSLATION: Syntax
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Syntax”SETSWANA TRANSLATION: thalaKanefase(bophara, boleele)SETSWANA TRANSLATION: Parameters
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Parameters”| SETSWANA TRANSLATION: Name | SETSWANA TRANSLATION: Type | SETSWANA TRANSLATION: Description |
|---|---|---|
bophara | palo | SETSWANA TRANSLATION: Width of the canvas in pixels. |
boleele | palo | SETSWANA TRANSLATION: Height of the canvas in pixels. |
SETSWANA TRANSLATION: Examples
SETSWANA TRANSLATION: Section titled “SETSWANA TRANSLATION: Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
sefofane(220);
}