Method Cairo.Context()->paint_with_alpha()


Method paint_with_alpha

void paint_with_alpha(float alpha)

Description

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 paint(), but the drawing is faded out using the alpha value.

Parameter alpha

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