Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Line

Represents a single line from point a to b. For use in the LineSegments DisplayObject. May be declared as having optional infinite start or end values such that the line will not terminate on one or both ends of the X axis.

//within a LineSegments DisplayObject, displays an infinite horizontal
//line at the 3800 price.
...
 lines: [
     {
         tag: 'Line',
         a: {
             x: du(0),
             y: du(3800),
         },
         b: {
             x: du(1),
             y: du(3800)
         },
         infiniteStart: true,
         infiniteEnd: true
     }
 ]
...

Hierarchy

  • Line

Properties

origin point of the line

end point of the line.

infiniteEnd: boolean

Optional. Declares that this line is non-terminal in the positive X-axis space.

infiniteStart: boolean

Optional. Declares that this line is non-terminal in the negative X-axis space.

tag: "Line"

Generated using TypeDoc