enyojs/canvas — pull request #7 by micro-tech (2013-08-25 17:39:54+00:00)
Title: add a line function to canvas

parameters:

start_x ------ line starting place x
start_y ------ line starting place y

finish_x------ line finishing place x
finish_y ------ line finishing place x

width ------ width of the line
Style --- color of line
cap ----- type of ending of the line

{kind: "enyo.canvas.line", bounds: {start_x: 100, start_y: 35, finish_x: 250, finish_y: 35, width: 50, Style: "yellow", cap: "round"}},

Enyo-DCO-1.1-Signed-off-by: John McConnell
johnmcconnell@yahoo.com