ImageDrawPoint

Draws a point at the specified (x,y) coordinate.

ImageDrawPoint( image, x, y )

Returns: void

Argument Description
image
any, required

The image on which this operation is performed.

Alias: name

x
number, required

The x coordinate of the point.

y
number, required

The y coordinate of the point.

Examples

img=imageNew("",100,100,"RGB","3c6382");
imageDrawPoint(img,45,50);
cfimage(action="writeToBrowser",source=img);

See also