Rectangle2D

Description

Represents a rectangle and angle of its rotation.

struct Rectangle2D
{
	Point2D origin;
	float angle;
	float width;
	float height;
};

Structure Fields

Type fields and default values (if defined) are described below:

Name Type Description
Origin Point2D Defines the top-left corner of the rectangle
Angle Real Rotation angle
Width Real Horizontal size
Height Real Vertical size