Share via


IXRGradientBrush (Windows Embedded CE 6.0)

1/6/2010

This is an abstract base class that describes a gradient pattern composed of gradient stops used to paint graphical objects.

Syntax

class IXRGradientBrush : public IXRBrush

Methods

Method Description

IXRGradientBrush::GetColorInterpolationMode

Retrieves an XRColorInterpolationMode enumerated type that specifies how the gradient's colors are interpolated.

IXRGradientBrush::GetGradientStops

Retrieves this brush's gradient stops.

IXRGradientBrush::GetMappingMode

Retrieves a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area.

IXRGradientBrush::GetSpreadMethod

Retrieves the spread method used to determine how a gradient is drawn when it starts or ends inside the bounds of the target object.

IXRGradientBrush::SetColorInterpolationMode

Sets an XRColorInterpolationMode enumerated type that specifies how the gradient's colors are interpolated.

IXRGradientBrush::SetGradientStops

Sets this brush's gradient stops.

IXRGradientBrush::SetMappingMode

Sets a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area.

IXRGradientBrush::SetSpreadMethod

Sets the spread method used to determine how a gradient is drawn when it starts or ends inside the bounds of the target object.

Inheritance Hierarchy

IXRDependencyObject

    IXRBrush

        IXRGradientBrush

            IXRLinearGradientBrush

            IXRRadialGradientBrush

.NET Framework Equivalent

System.Windows.Media.GradientBrush

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Visual Appearance and Behavior