DrawingContext.opacity

Specify the fill and stroke opacities.

class DrawingContext
void
opacity
(
double opacity
)
in { assert (opacity >= 0); assert (opacity <= 1); }

Parameters

opacity
Type: double

A number between 0 and 1.

Meta