gfx:make-line

(gfx:make-line x1 y1 x2 y2)


Description:

Creates and returns a line path


Arguments:

             x1 -- start of line

             y1 -- start of line

             y2 -- end of line

             x2 -- end of line


Returns: path (NSPath)


Related: gfx:make-square gfx:make-oval gfx:make-circle 


Examples:



Back to index