LINE keyword
Draws a line.
Syntax
LINE (x1, y1)-(x2, y2), color, thickness, "effect", effectvalue
Parameters
- x1: integer of horizontal position 1 (required)
- y1: integer of vertical position 1 (required)
- x2: integer of horizontal position 2 (required)
- y2: integer of vertical position 2 (required)
- color: color specified using hex value
- thickness: line thickness in pixels
- effect: possible effect
- effectvalue: integer value to customize the effect
Example
LINE (10, 10)-(630, 100)
LINE (10, 10)-(630, 100), #FF0054
LINE (10, 10)-(630, 100), #FF0054, 3
LINE (10, 10)-(630, 100), #FF0054, 3, "fade-in"
LINE (10, 10)-(630, 100), #FF0054, 3, "fade-in", 3000
DIM myLine AS LINE
myLine = LINE (10, 10)-(630, 100)
Go back to list of Keywords.