/// <summary> /// Initializes a new instance of the <see cref="RectangleF"/> structure. /// </summary> /// <param name="position">The position of the rectangle's top-left corner.</param> /// <param name="size">The area of the rectangle.</param> public RectangleF(Vector2 position, Size2F size) : this(position.X, position.Y, size.Width, size.Height) { }
/// <summary> /// Initializes a new instance of the <see cref="RectangleF"/> class. /// </summary> /// <param name="position">The rectangle's position.</param> /// <param name="size">The rectangle's size.</param> public RectangleF(Point2F position, Size2F size) : this(position.X, position.Y, size.Width, size.Height) { }