LineElement constructor

LineElement({
  1. required Offset startPoint,
  2. required Offset lineParams,
  3. required bool relative,
})

startPoint (Offset) REQUIRED 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.startPoint,
  required this.lineParams,
  required this.relative,
});