Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }