Esempio n. 1
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(
         Font.GetHashCode() ^
         Color.GetHashCode() ^
         EdgeColor.GetHashCode() ^
         EdgeLength.GetHashCode() ^
         IsStretchSize.GetHashCode());
 }
Esempio n. 2
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(
         FontFamilyName.GetHashCode() ^
         FontStyle.GetHashCode() ^
         Size.GetHashCode() ^
         Color.GetHashCode() ^
         EdgeColor.GetHashCode() ^
         EdgeLength.GetHashCode() ^
         IsStretchSize.GetHashCode());
 }