Documentation of 'Catalano.Imaging.Filters.Artistic.Opacity' Java class
Opacity
Catalano.Imaging.Filters.Artistic

Class Opacity

  • All Implemented Interfaces:
    IApplyInPlace


    public class Opacity
    extends java.lang.Object
    implements IApplyInPlace
    Opacity filter.
    • Constructor Detail

      • Opacity

        public Opacity(FastBitmap overlay)
        Initializes a new instance of the HeatMap class.
        Parameters:
        overlay - Overlay image.
      • Opacity

        public Opacity(FastBitmap overlay,
                       double percentage)
        Initializes a new instance of the HeatMap class.
        Parameters:
        overlay - Overlay image.
        percentage - Percentage [0..1].
    • Method Detail

      • getOverlay

        public FastBitmap getOverlay()
        Get overlay image.
        Returns:
        Overlay image.
      • setOverlay

        public void setOverlay(FastBitmap overlay)
        Set overlay image.
        Parameters:
        overlay - Overlay image.
      • getPercentage

        public double getPercentage()
        Get percentage.
        Returns:
        Percentage.
      • setPercentage

        public void setPercentage(double p)
        Set percetange.
        Parameters:
        p - Percentage [0..1].
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.