ImageDrawPoint()
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
editimg=imageNew("",100,100,"RGB","3c6382");
imageDrawPoint(img,45,50);
cfimage(action="writeToBrowser",source=img);
See also
- Image manipulation
- image.drawPoint()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)