public bool Equals(pixel otherPixel) { bool isEqual = false; if (redEquals(otherPixel) & bluEquals(otherPixel) & grnEquals(otherPixel)) { isEqual = true; } return(isEqual); }
public bool grnEquals(pixel otherPixel) { bool isEqual = false; if (grnIntensity == otherPixel.grnIntensity && grnEffectType == otherPixel.grnEffectType && grnEndIntensity == otherPixel.grnEndIntensity && grnEndCentisecond == otherPixel.grnEndCentisecond) { isEqual = true; } return(isEqual); }
public bool bluEquals(pixel otherPixel) { bool isEqual = false; if (bluIntensity == otherPixel.bluIntensity && bluEffectType == otherPixel.bluEffectType && bluEndIntensity == otherPixel.bluEndIntensity && bluEndCentisecond == otherPixel.bluEndCentisecond) { isEqual = true; } return(isEqual); }
public bool redEquals(pixel otherPixel) { bool isEqual = false; if (redIntensity == otherPixel.redIntensity && redEffectType == otherPixel.redEffectType && redEndIntensity == otherPixel.redEndIntensity && redEndCentisecond == otherPixel.redEndCentisecond) { isEqual = true; } return(isEqual); }