HorizontalLineElement constructor

HorizontalLineElement({
  1. required Offset startPoint,
  2. required bool relative,
  3. required double targetX,
})

startPoint (Offset) REQUIRED relative (bool) REQUIRED : Is it a relative move ? targetX (double) REQUIRED

Implementation

HorizontalLineElement({
  required this.startPoint,
  required this.relative,
  required this.targetX,
});