IXRRectangle::GetRadiusY (Compact 2013)
3/28/2014
This method retrieves the y-axis of the ellipse that is used to round the corners of this rectangle object.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetRadiusY(
float *pRadiusY
) = 0;
Parameters
- pRadiusY
[out] Pointer to a float value that represents the y-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 y-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.RadiusY
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |