Purpose
Draw a line on a canvas.
Synopsis
procedure XADcanvasdrawline(id:integer, x1:real, y1:real,
x2:real, y2:real, color:integer)
procedure XADcanvasdrawline(id:integer, x1:real, y1:real,
x2:real, y2:real, color:integer, width: integer)
Arguments
|
id
|
Canvas identifier
|
|
x1
|
x start coordinate
|
|
y1
|
y start coordinate
|
|
x2
|
x end coordinate
|
|
y2
|
y end coordinate
|
|
color
|
Color
|
|
width
|
Width
|
Further information
Draws
a line
width-pixels wide from (
x1,
y1) to
(
x2,
y2) with the given
color. The default width is one pixel.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.