PdfGraphicState constructor
const
PdfGraphicState({
- double? opacity,
- double? strokeOpacity,
- double? fillOpacity,
- PdfBlendMode? blendMode,
- PdfSoftMask? softMask,
- PdfFunction? transferFunction,
Create a new graphic state
Implementation
const PdfGraphicState({
double? opacity,
double? strokeOpacity,
double? fillOpacity,
this.blendMode,
this.softMask,
this.transferFunction,
}) : fillOpacity = fillOpacity ?? opacity,
strokeOpacity = strokeOpacity ?? opacity;