ID2D1RoundedRectangleGeometry interface (d2d1.h)

Describes a rounded rectangle.

Inheritance

The ID2D1RoundedRectangleGeometry interface inherits from ID2D1Geometry. ID2D1RoundedRectangleGeometry also has these types of members:

Methods

The ID2D1RoundedRectangleGeometry interface has these methods.

 
ID2D1RoundedRectangleGeometry::GetRoundedRect

Retrieves a rounded rectangle that describes this rounded rectangle geometry.

Remarks

Creating ID2D1RoundedRectangleGeometry Objects

To create a rectangle geometry, use the ID2D1Factory::CreateRoundedRectangleGeometry 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.

Requirements

Requirement Value
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]
Target Platform Windows
Header d2d1.h

See also

ID2D1Geometry