public bool Equals(pixel otherKeywdel) { bool isEqual = false; if (redEquals(otherKeywdel) & bluEquals(otherKeywdel) & grnEquals(otherKeywdel)) { isEqual = true; } return(isEqual); }
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); }
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); }
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); }