/// <summary> /// Returns the hashcode of the object. /// </summary> /// <returns></returns> public override int GetHashCode() { switch (ColorType) { case TColorType.RGB: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), RGB.GetHashCode(), Tint.GetHashCode())); case TColorType.Automatic: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), ((int)FAutomaticType).GetHashCode(), Tint.GetHashCode())); case TColorType.Theme: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), ((int)Theme).GetHashCode(), Tint.GetHashCode())); case TColorType.Indexed: return(HashCoder.GetHash(((int)ColorType).GetHashCode(), FIndex.GetHashCode(), Tint.GetHashCode())); } return(((int)ColorType).GetHashCode()); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash( FApplyFontSize20.GetHashCode(), FApplyFontSize20 ? FFontSize20.GetHashCode() : 0, FApplyFontColor.GetHashCode(), FApplyFontColor ? FontColor.GetHashCode() : 0, FApplyFontStyleBoldAndItalic.GetHashCode(), FApplyFontStyleSubSuperscript.GetHashCode(), FApplyFontStyleStrikeout.GetHashCode(), FApplyFontStyleBoldAndItalic || FApplyFontStyleSubSuperscript || FApplyFontStyleStrikeout ? FFontStyle.GetHashCode() : 0, FApplyFontUnderline.GetHashCode(), FApplyFontUnderline ? FFontUnderline.GetHashCode() : 0, FApplyPatternStyle.GetHashCode(), FApplyPatternStyle ? FPatternStyle.GetHashCode() : 0, FApplyPatternFg.GetHashCode(), FApplyPatternFg ? FPatternFgColor.GetHashCode() : 0, FApplyPatternBg.GetHashCode(), FApplyPatternBg ? PatternBgColor.GetHashCode() : 0, FApplyBorderLeft.GetHashCode(), FApplyBorderLeft ? FBorderLeft.GetHashCode() : 0, FApplyBorderRight.GetHashCode(), FApplyBorderRight ? FBorderRight.GetHashCode() : 0, FApplyBorderTop.GetHashCode(), FApplyBorderTop ? FBorderTop.GetHashCode() : 0, FApplyBorderBottom.GetHashCode(), FApplyBorderBottom ? FBorderBottom.GetHashCode() : 0 )); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FL0.GetHashCode(), Fa0.GetHashCode(), Fb0.GetHashCode())); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FscR.GetHashCode(), FscG.GetHashCode(), FscB.GetHashCode())); }
/// <summary> /// Returns a hashcode for the color. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(FHue.GetHashCode(), FSat.GetHashCode(), FLum.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(base.GetHashCode(), FTop.GetHashCode(), FLeft.GetHashCode(), FBottom.GetHashCode(), FRight.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(base.GetHashCode(), RotationAngle.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { int StopsHashCode = Stops == null ? 0 : Stops.GetHashCode(); return(HashCoder.GetHash(GradientType.GetHashCode(), StopsHashCode)); }
/// <summary> /// Returns the hashcode for this struct. /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(Position.GetHashCode(), Color.GetHashCode())); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType, GetHash(Domain), GetHash(Range), Functions.GetHashCode(), GetHash(Bounds), GetHash(Encode))); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType, GetHash(Domain), GetHash(Range), GetHash(C0), GetHash(C1), N.GetHashCode())); }
public override int GetHashCode() { return(HashCoder.GetHash(FunctionType.GetHashCode(), GetHash(Domain), GetHash(Range), Data.GetHashCode(), BitsPerSample.GetHashCode())); }
public override int GetHashCode() { return(HashCoder.GetHash(Size.GetHashCode(), Name.GetHashCode(), ((int)Style).GetHashCode())); }
/// <summary> /// Hash code for the point. /// </summary> /// <returns>hashcode.</returns> public override int GetHashCode() { return(HashCoder.GetHash(X, Y)); }
/// <summary> /// Returns the hashcode for this object /// </summary> /// <returns></returns> public override int GetHashCode() { return(HashCoder.GetHash(Fx.GetHashCode(), Fy.GetHashCode())); }