Lucee Function Reference
imagedrawroundrect()
Draws a rectangle with rounded corners.
Beispiel
imagedrawroundrect(any image,number x,number y,number width,number height,number arcWidth,number arcHeight,[boolean filled]):void
Kategorie
image
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Beschreibung |
---|---|---|---|
image | any | Yes | The image on which this operation is performed. |
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. |
arcWidth | number | Yes | The horizontal diameter of the arc at the four corners. |
arcHeight | number | Yes | The vertical diameter of the arc at the four corners. |
filled | boolean | No |
Specify whether the rectangle is filled: |