ID2D1RectangleGeometry interface (d2d1.h)
Describes a two-dimensional rectangle.
The ID2D1RectangleGeometry interface inherits from ID2D1Geometry. ID2D1RectangleGeometry also has these types of members:
The ID2D1RectangleGeometry interface has these methods.
Retrieves the rectangle that describes the rectangle geometry's dimensions.
To create a rectangle geometry, use the ID2D1Factory::CreateRectangleGeometry method.
Direct2D geometries are immutable and device-independent resources created by ID2D1Factory. In general, you should create geometries once and retain them for the life of the application, or until they need to be modified. For more information about device-independent and device-dependent resources, see the Resources Overview.
|Minimum supported client||Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]|