Context.paintWithAlpha

A drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value alpha. The effect is similar to cairo_paint(), but the drawing is faded out using the alpha value. Since 1.0

class Context
void
paintWithAlpha
(
double alpha
)

Parameters

alpha double

alpha value, between 0 (transparent) and 1 (opaque)