Railo 4.2 Reference
Choose a function:

Function IMAGEDRAWRECT

Draws a rectangle.

Beispiel

imagedrawrect(any name,number x,number y,number width,number height,[boolean filled]):void

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
name 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.  
filled boolean  No Specify whether the rectangle is filled:
  • true: The rectangle is filled with the specified drawing color.
  • false (default): Only the outline of the rectangle is drawn.