/// <summary>Find the hash of the Parameters</summary> /// <returns>Hash of the Parameters</returns> public override int GetHashCode() { int result = MyClipRegion.GetHashCode(); if (MyTransparentColor.HasValue) { result = 31 * result + MyTransparentColor.Value.GetHashCode(); } return(result); }