Class XScreenMask

    • Field Detail

      • m_Down

        protected boolean m_Down
        If true, then pixels <= threshold are not masked and the others' alpha channel are set to 0 (made transparent).
      • m_Threshold

        protected int m_Threshold
        Threshold value used for binarization, specify -1 to automatically determine a threshold.
    • Constructor Detail

      • XScreenMask

        public XScreenMask()
    • Method Detail

      • getColor

        public XScreenMaskHelper.Color getColor()
        Gets color to be masked out.
        Returns:
        color to be masked out
      • setColor

        public void setColor​(XScreenMaskHelper.Color value)
        Sets color to be masked out.
        Parameters:
        value - bias
      • colorTipText

        public String colorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDown

        public boolean getDown()
        Get whether mask is applied below or above the threshold.
        Returns:
        threshold direction
      • setDown

        public void setDown​(boolean value)
        Set whether mask is applied below or above the threshold.
        Parameters:
        value - threshold direction
      • downTipText

        public String downTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getThreshold

        public int getThreshold()
        Get the manual threshold value.
        Returns:
        manual threshold value
      • setThreshold

        public void setThreshold​(int value)
        Set the manual threshold value.
        Parameters:
        value - manual threshold value
      • thresholdTipText

        public String thresholdTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.