fillPath method Null safety

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}) {
  _buf.putString('f${evenOdd ? '*' : ''}\n');
}