/// <summary>
/// Creates a new <see cref="Rect2"/> instance.
/// </summary>
/// <param name="tl"></param>
/// <param name="br"></param>
/// <param name="dx"></param>
/// <param name="dy"></param>
/// <returns></returns>
public static Rect2 Create(XPoint tl, XPoint br, double dx = 0.0, double dy = 0.0)
{
return(Rect2.Create(tl.X, tl.Y, br.X, br.Y, dx, dy));
}