image.drawPoint()

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

image.drawPoint( x=number, y=number )

Returns: Image

Argument Description
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");
	img.DrawPoint(45,50);
	img.DrawPoint(46,49);
	img.DrawPoint(47,48);
	cfimage(action="writeToBrowser",source=img);

See also