IXRRectangle::GetRadiusX (Compact 2013)
3/28/2014
This method retrieves the x-axis radius of the ellipse that is used to round the corners of this rectangle object.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetRadiusX(
float *pRadiusX
) = 0;
Parameters
- pRadiusX
[out] Pointer to a float value that represents the x-axis of the ellipse used to round the corners of this rectangle object.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
For the rectangle to have rounded corners, the values retrieved by IXRRectangle::GetRadiusX and IXRRectangle::GetRadiusY must both be nonzero.
A value greater than or equal to zero, and less than or equal to half the width of the rectangle, that describes the x-radius of the ellipse is used to round the corners of the rectangle. Values that are greater than half the width of the rectangle are treated as equal to half the width of the rectangle. Negative values are treated as positive values.
.NET Framework Equivalent
System.Windows.Shapes.Rectangle.RadiusX
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |