Helper routine to create a geometry that describes a rounded rectangle.
Parameters
- rect
- The rectangle that defines the size and position of the rounded rectangle
- roundedCorners
- An enumeration indicating which corners will be rounded
- radiusX
- A double that indicates the horizontal radius of the corners
- radiusY
- A double that indicates the vertical radius of the corners
- edgeThickness
- The thickness of the edge for the rectangle. If the rectangle will have a border drawn, this would typically be the thickness of the pen.
Return Value
A geometry that represents a rectangle with the specified rounded corners
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2