set_pixel


Description:

public bool set_pixel (int x_coord, int y_coord, Color color)

Sets the value of the pixel at the specified coordinates.

This procedure sets the pixel value at the specified coordinates. Note that this function is not undoable, you should use it only on drawables you just created yourself.

Parameters:

this

The drawable.

x_coord

The x coordinate.

y_coord

The y coordinate.

color

The pixel color.

Returns:

TRUE on success.