set_pixel method

set_pixel

Sets an image pixel for the specified position.

def set_pixel(self, x, y, color):
    ...
ParameterTypeDescription
xintThe pixel x location.
yintThe pixel y location.
colorColorThe pixel color for the specified position.

See Also