Example #1
0
 /// <summary>
 /// Writes the given <see cref="Ellipsef"/> to an <see cref="Ibasa.IO.BinaryWriter">.
 /// </summary>
 public static void Write(this Ibasa.IO.BinaryWriter writer, Ellipsef ellipse)
 {
     writer.Write(ellipse.X);
     writer.Write(ellipse.Y);
     writer.Write(ellipse.Width);
     writer.Write(ellipse.Height);
 }
Example #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(Ellipsef left, Ellipsef right)
 {
     return(left == right);
 }