beginTransparencyGroup method
void
beginTransparencyGroup(
- double alpha, {
- required bool knockout,
- required bool isolated,
- PdfRect? bounds,
- PdfColor? backdropColor,
override
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,
);
}