opacityF

Sets the opacity of a Pixmap.

This lossy operation updates the alpha-channel value of each pixel. → alpha *= opacity

@safe pure nothrow @nogc
void
opacityF
(,
const float opacity
)

See Also

Use opacity with 8-bit integer opacity values (in 255ths).

Meta