/// <summary> /// Serves as a hash of this type. /// </summary> /// <returns>A hash code for the current instance.</returns> public override int GetHashCode() { return (Width.GetHashCode() ^ Height.GetHashCode() ^ X.GetHashCode() ^ Y.GetHashCode() ^ IsPercentage.GetHashCode() ^ IgnoreAspectRatio.GetHashCode() ^ Less.GetHashCode() ^ Greater.GetHashCode() ^ FillArea.GetHashCode() ^ LimitPixels.GetHashCode()); }