IXRRadialGradientBrush (Windows Embedded CE 6.0)
1/6/2010
This class represents a brush that paints an area with a radial gradient. A focal point defines the beginning of the gradient, and an ellipse defines the endpoints of the gradient.
Syntax
class IXRRadialGradientBrush : public IXRGradientBrush
Methods
Method | Description |
---|---|
Retrieves the center of the outer ellipse of this radial gradient. |
|
Retrieves the location of the focal point where the radial gradient begins. |
|
Retrieves the horizontal radius of the outer ellipse of this radial gradient. |
|
Retrieves the vertical radius of the outer ellipse of this radial gradient. |
|
Sets the center of the outer ellipse of this radial gradient. |
|
Sets the location of the focal point where the radial gradient begins. |
|
Sets the horizontal radius of the outer ellipse of this radial gradient. |
|
Sets the vertical radius of the outer ellipse of this radial gradient. |
Remarks
The IXRRadialGradientBrush object resembles the IXRLinearGradientBrush object. However, the linear gradient has a starting point and an endpoint that define the gradient vector, whereas the radial gradient has a focal point that defines the starting point and an ellipse that defines the endpoints. In other words, a gradient stop at 1 defines the color at the ellipse circumference. A gradient stop at 0 defines the color at the focal point.
When you set identical RadiusX and RadiusY values, the shape of the outer ellipse of this radial gradient is a circle.
You can also define a radial gradient brush in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRRadialGradientBrush
.NET Framework Equivalent
System.Windows.Media.RadialGradientBrush
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