decreaseOpacityF

Lowers the opacity of a Pixel.

This function multiplies the opacity of the input with the given percentage.

Value Range: 0.0 = 0% 1.0 = 100%

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

See Also

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

Meta