beginTransparencyGroup method

  1. @override
void beginTransparencyGroup(
  1. double alpha, {
  2. required bool knockout,
  3. required bool isolated,
  4. PdfRect? bounds,
  5. PdfColor? backdropColor,
})
inherited

Implementation

@override
void beginTransparencyGroup(
  double alpha, {
  required bool knockout,
  required bool isolated,
  PdfRect? bounds,
  PdfColor? backdropColor,
}) {
  flushPending(); // the group's layer must not capture earlier strips
  _groupKnockout.add(knockout);
  // Observed before the interpreter resets the in-group blend to Normal.
  _groupBlended.add(_blend != PdfBlendMode.normal);
  delegateBeginTransparencyGroup(
    alpha,
    knockout: knockout,
    isolated: isolated,
    bounds: bounds,
    backdropColor: backdropColor,
  );
}