decreaseOpacity

Lowers the opacity of a Pixel.

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

  1. Pixel decreaseOpacity(Pixel source, ubyte opacityPercentage)
    @safe pure nothrow @nogc
    decreaseOpacity
  2. Pixmap decreaseOpacity(Pixmap source, Pixmap target, ubyte opacityPercentage)

See Also

Use decreaseOpacityF with decimal opacity values in percent (%).

Meta