Line
A line-shaped effect extends away from you in a line in the direction you designate. It starts from any corner of your square and extends to the limit of its range or until it strikes a barrier that blocks line of effect (see page 271). A line-shaped effect applies to all creatures in squares through which the line passes.
Source
Core Rulebook pg. 268