Skip to content
ExamplesOpen editor ↗

bophara

→ width

The current width of the canvas in pixels.

bophara

A read-only value that always reflects the canvas width set by thalaKanefase. Useful for centering or scaling shapes relative to the canvas size.

Center a circle on the canvas
tiro setaLoeto() {
  thalaKanefase(400, 400);
  bokamorago(220);
  thalaSediko(bophara / 2, boleele / 2, 100);
}

boleele, thalaKanefase