ImageDrawline()

Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system

Usage

BOOLEAN = ImageDrawline( name, x1, y1, x2, y2 )
Argument Summary
name the image object
x1 the first point's x coordinate
y1 the first point's y coordinate
x2 the second point's x coordinate
y2 the second point's y coordinate

Calling

Supports named-parameter calling allowing you to use the function like:

ImageDrawline(
   name=?, 
   x1=?, 
   y1=?, 
   x2=?, 
   y2=?
);

Supports passing parameters as a structure using ArgumentCollection:

ImageDrawline( ArgumentCollection={
   name : ?, 
   x1 : ?, 
   y1 : ?, 
   x2 : ?, 
   y2 : ?
} );