EtchPathAddOval.alignment constructor

EtchPathAddOval.alignment({
  1. required Offset topLeftAlignment,
  2. required Offset bottomRightAlignment,
})

Constructor for creating the oval which uses alignments to create the Rect Alignments here are with respect to the center (Center is (0,0))

Implementation

EtchPathAddOval.alignment({
  required Offset topLeftAlignment,
  required Offset bottomRightAlignment,
})  : _topLeftAlignment = topLeftAlignment,
      _bottomRightAlignment = bottomRightAlignment;