gfx:draw-line

(gfx:draw-line time canvas x1 y1 x2 y2 colour)


Description:

draws a line on the canvas from the point x1,y1 to the point x2,y2


Arguments:

             x1 -- number

             y1 -- number

             y2 -- number

         canvas -- graphics canvas to draw to

         colour -- list rgba

             x2 -- number

           time -- time in samples


Returns: boolean


Examples:



Back to index