Exemplo n.º 1
0
        public bool Equals(pixel otherKeywdel)
        {
            bool isEqual = false;

            if (redEquals(otherKeywdel) &
                bluEquals(otherKeywdel) &
                grnEquals(otherKeywdel))
            {
                isEqual = true;
            }
            return(isEqual);
        }
Exemplo n.º 2
0
        public bool grnEquals(pixel otherKeywdel)
        {
            bool isEqual = false;

            if (grnIntensity == otherKeywdel.grnIntensity &&
                grnEffectType == otherKeywdel.grnEffectType &&
                grnEndIntensity == otherKeywdel.grnEndIntensity &&
                grnEndCentisecond == otherKeywdel.grnEndCentisecond)
            {
                isEqual = true;
            }
            return(isEqual);
        }
Exemplo n.º 3
0
        public bool bluEquals(pixel otherKeywdel)
        {
            bool isEqual = false;

            if (bluIntensity == otherKeywdel.bluIntensity &&
                bluEffectType == otherKeywdel.bluEffectType &&
                bluEndIntensity == otherKeywdel.bluEndIntensity &&
                bluEndCentisecond == otherKeywdel.bluEndCentisecond)
            {
                isEqual = true;
            }
            return(isEqual);
        }
Exemplo n.º 4
0
        public bool redEquals(pixel otherKeywdel)
        {
            bool isEqual = false;

            if (redIntensity == otherKeywdel.redIntensity &&
                redEffectType == otherKeywdel.redEffectType &&
                redEndIntensity == otherKeywdel.redEndIntensity &&
                redEndCentisecond == otherKeywdel.redEndCentisecond)
            {
                isEqual = true;
            }
            return(isEqual);
        }