import { OutlineAndFillStyleEnum } from "./DrawingEnums" ; import { PointF2D } from "../../Common/DataObjects/PointF2D" ; export class GraphicalLine { constructor ( start , end , width = 0 , styleEnum = OutlineAndFillStyleEnum . BaseWritingColor , colorHex = undefined ) { this . start = start ; this . end = end ; this . width = width ; this . styleId = < number > styleEnum ; this . colorHex = colorHex ; } public styleId : number ; private start : PointF2D ; private end : PointF2D ; private width : number ; public colorHex : string ; public get Start ( ) : PointF2D { return this . start ; } public set Start ( value ) { this . start = value ; } public get End ( ) : PointF2D { return this . end ; } public set End ( value ) { this . end = value ; } public get Width ( ) : number { return this . width ; } public set Width ( value ) { this . width = value ; } }