delegateBeginSoftMaskComposite method

  1. @override
void delegateBeginSoftMaskComposite({
  1. required bool luminosity,
  2. required PdfRect backdrop,
  3. required double backdropLuminance,
  4. required double transferScale,
  5. required double transferOffset,
})

The two halves of the soft-mask composite. The base runs the mask group's drawMask() between them - through THIS device, so mask-group strips bin (and flush) identically on every subclass.

Implementation

@override
void delegateBeginSoftMaskComposite({
  required bool luminosity,
  required PdfRect backdrop,
  required double backdropLuminance,
  required double transferScale,
  required double transferOffset,
}) {
  // The mask group's draws happen at interpret time and append to the
  // tape between the composite halves - the fallback's own endSoftMasked
  // would re-run them at replay time instead.
  _state((d) => d.beginSoftMaskComposite(
      luminosity: luminosity,
      backdrop: backdrop,
      backdropLuminance: backdropLuminance,
      transferScale: transferScale,
      transferOffset: transferOffset));
}