次の方法で共有


IXRRadialGradientBrush::GetRadiusY (Compact 2013)

3/28/2014

This method retrieves the vertical radius of the outer ellipse of this radial gradient.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetRadiusY(
    float* pRadiusY
) = 0;

Parameters

  • pRadiusY
    [out] Pointer to a float value that indicates the vertical radius of the outer ellipse of this radial gradient.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

When the inherited method IXRGradientBrush::GetMappingMode indicates that the mapping mode is set to XRBrushMappingMode_RelativeToBoundingBox, RadiusX and RadiusY are "logical points." Logical points have values between 0 and 1 and are mapped against the total size of the resulting bounding box where this brush is applied. A value of 0.5 creates a circle that reaches the edge of the bounding box under this mapping mode.

If the mapping mode is set to XRBrushMappingMode_Absolute, RadiusY should be supplied as a float value in the coordinate system.

.NET Framework Equivalent

System.Windows.Media.RadialGradientBrush.RadiusY

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRRadialGradientBrush
IXRRadialGradientBrush::SetRadiusY