decreaseOpacityF

Adjusts the opacity of a Pixmap.

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

  1. Pixel decreaseOpacityF(Pixel source, float opacityPercentage)
  2. Pixmap decreaseOpacityF(Pixmap source, Pixmap target, float opacityPercentage)
    @safe pure nothrow @nogc
    decreaseOpacityF
  3. PixmapBlueprint decreaseOpacityF(Pixmap source)

See Also

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

Meta