Lucee object methods reference
Object Method Image.drawRect
Draws a rectangle.
Image.drawRect(number x,number y,number width,number height,[boolean filled]):image
Category
image
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
x | number | Yes | The x coordinate of the rectangle. |
y | number | Yes | The y coordinate of the rectangle. |
width | number | Yes | The width of the rectangle. |
height | number | Yes | The height of the rectangle. |
filled | boolean | No |
Specify whether the rectangle is filled: |