fillPath method

void fillPath({
  1. bool evenOdd = false,
})

Draw a surface on the previously defined shape set evenOdd to false to use the nonzero winding number rule to determine the region to fill and to true to use the even-odd rule to determine the region to fill

Implementation

void fillPath({bool evenOdd = false}) {
  assert(() {
    if (_page.pdfDocument.verbose) {
      _buf.putComment('fillPath evenOdd:$evenOdd');
    }
    return true;
  }());

  _buf.putString('f${evenOdd ? '*' : ''}\n');
}