beginSoftMasked method
Starts capturing painted content that an ExtGState /SMask will mask. Visual devices open an offscreen layer; others can ignore the pair.
Implementation
@override
void beginSoftMasked() {
flushPending(); // earlier strips must not be captured by the layer
_groupKnockout.add(false);
delegateBeginSoftMasked();
}