Skip to main content

draw_point()

Description#

Draws a single pixel at the set x and y coordinate.

Syntax#

draw_point(x, y)
draw_point(x, y,fill_in=True)

Parameters#

x: the x coordinate
y: the y coordinate
fill_in: Boolean that selects if the point will be filled in (white). Default to True.

Returns#

None

Example Code#
Python#
#Python code
from zumi.util.screen import Screen
import time
screen=Screen()
screen.draw_point(100,30)