ImageDrawPoint()

edit

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

Requires Extension: Image Extension for Jakarta EE (Lucee 7+)

ImageDrawPoint( image=any, x=number, y=number );

Returns: void

Argument Description
image
any, required
edit

The image on which this operation is performed.

Alias: name

x
number, required
edit

The x coordinate of the point.

y
number, required
edit

The y coordinate of the point.

Examples

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

See also