Railo 4.2 Reference
Choose a function:

Function IMAGEDRAWLINE

Draws a single line defined by two sets of x and y coordinates on a image.

Beispiel

imagedrawline(any name,number x1,number y1,number x2,number y2):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.  
x1 number  Yes The x coordinate for the start point of the line.  
y1 number  Yes The y coordinate for the start point of the line.  
x2 number  Yes The x coordinate for the end point of the line.  
y2 number  Yes The y coordinate for the end point of the line.