次の方法で共有


IXRGradientBrush::GetGradientStops (Compact 2013)

3/28/2014

This method retrieves this brush's gradient stops.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGradientStops(
    IXRGradientStopCollection** ppGradientStops
) = 0;

Parameters

  • ppGradientStops
    [out] Pointer to an IXRGradientStopCollection object that has a collection of IXRGradientStop objects associated with this brush. Each object specifies a color and an offset along the brush's gradient axis.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Each gradient stop in the collection describes the offset location and color value of each transition point on the target surface.

.NET Framework Equivalent

System.Windows.Media.GradientBrush.GradientStops

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGradientBrush
IXRGradientBrush::SetGradientStops