The Diagonals Class is a simple drawing class for constructing a rectangle filled with parallel diagonal lines. The class can serve as a border or as a textured background.
Entries Tagged as 'line'
Drawing a diagonal line-filled rectangle: Diagonals Class
November 27th, 2009 · 1 Comment · AS3 Custom Classes
Drawing dashed & dotted lines: DashedLine Class
September 11th, 2009 · 3 Comments · AS3 Custom Classes
The DashedLine class is a simple drawing class whose required parameters include the total line length, width and height of each dash, the spacing between dashes and the dash color. An optional sixth parameter dashOffset creates dashes with slanted leading and trailing edges as in the second instance shown in the code and [...]