コード例 #1
0
ファイル: Ellipsel.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Writes the given <see cref="Ellipsel"/> to an <see cref="Ibasa.IO.BinaryWriter">.
 /// </summary>
 public static void Write(this Ibasa.IO.BinaryWriter writer, Ellipsel ellipse)
 {
     writer.Write(ellipse.X);
     writer.Write(ellipse.Y);
     writer.Write(ellipse.Width);
     writer.Write(ellipse.Height);
 }
コード例 #2
0
ファイル: Ellipsel.cs プロジェクト: bonomali/Ibasa
 /// <summary>
 /// Returns a value that indicates whether two ellipsees are equal.
 /// </summary>
 /// <param name="left">The first ellipse to compare.</param>
 /// <param name="right">The second ellipse to compare.</param>
 /// <returns>true if the left and right are equal; otherwise, false.</returns>
 public static bool Equals(Ellipsel left, Ellipsel right)
 {
     return(left == right);
 }