LineElement constructor

LineElement({@required Offset lineParams, @required bool relative })

lineParams (Offset) REQUIRED : Line x and y if not relative, otherwise line dx and dy. relative (bool) REQUIRED :Is it a relative line ?

Implementation

LineElement({@required this.lineParams, @required this.relative});