clipPath method Null safety

void clipPath(
  1. {bool evenOdd = false,
  2. bool end = true}
)

Create a clipping surface from the previously defined shape, to prevent any further drawing outside

Implementation

void clipPath({bool evenOdd = false, bool end = true}) {
  _buf.putString('W${evenOdd ? '*' : ''}${end ? ' n' : ''}\n');
}