EtchPathAddRect.alignment constructor

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

Implementation

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