Railo 4.2 Reference
Choose a function:

Function IMAGEDRAWLINES

Draws a sequence of connected lines defined by arrays of x and y coordinates.

Beispiel

imagedrawlines(any name,array xcoords,array ycoords,[boolean isPolygon,[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.  
xcoords array  Yes A array of x coordinates.  
ycoords array  Yes A array of y coordinates.  
isPolygon boolean  No Specify whether the lines form a polygon:
  • true: The lines are connected to form a polygon.
  • false (default): The lines do not form a polygon.  
  • filled boolean  No Specify whether the polygon is filled:
  • true: The polygon is filled with the specified drawing color.
  • false (default): Only the outline of the polygon is drawn.