Type: LineFactoryGraceDocs
LineFactory = type { ...added methods below... }
Type of factory for creating line segments

Added methods

Method signature Return type
from(pt:Point)length(len:Number)direction(radians:Number)on(canvas':DrawingCanvas) Line
Create a line from pt that has length len, and in direction radians on canvas'
from(start':Point)to(end':Point)on(canvas':DrawingCanvas) Line
Create a line from start' to end' on canvas'