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