Cpdf::setFillTransparency
Set current blend mode & opacity for filled objects.
Valid blend modes are: Normal, Multiply, Screen, Overlay, Darken, Lighten, ColorDogde, ColorBurn, HardLight, SoftLight, Difference, Exclusion
Signature
public function setFillTransparency(string
$mode,
float
$opacity )
Parameters
$mode
— string- the blend mode to use
$opacity
— float- 0.0 fully transparent, 1.0 fully opaque