Line plugin

Draws a line

Example usage

Example 1

Line{10,10,60,40,3,Red} example
Line{10,10,60,40,3,Red}

Example 2

Line{X{20}Y{30}X2{80}Y2{80}Brush{Color{Blue}}} example
Line{X{20}Y{30}X2{80}Y2{80}Brush{Color{Blue}}}

Constructors

Constructor 1

Available properties

X2 - Number
X-coordinate of the end of the line
Y2 - Number
Y-coordinate of the end of the line
Position - DrawPluginPosition
The type of positioning to use
X - Number
The X-coordinate to begin drawing, if relevant
Y - Number
The Y-coordinate to begin drawing, if relevant
Brush - ImgBagBrush
The settings to use for the brush, if relevant
Font - ImgBagFont
The settings to use for the font, if relevant