Helper routine to create a geometry that describes a rounded rectangle. This overloads is used to return an open geometry where one or more sides are not included.
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.
- startSide
- The first side of the rectangle to include
- endSide
- The last side of the rectangle to include. To close the rect, this value must be the same as the .
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