IXRBrush (Windows Embedded CE 6.0)
1/6/2010
This class defines objects that are used to paint graphical objects. Classes that derive from IXRBrush describe how the area is painted.
Syntax
class IXRBrush : public IXRDependencyObject
Methods
Method | Description |
---|---|
Retrieves the degree of opacity of this brush object. |
|
Retrieves the transformation that is applied to this brush by using relative coordinates. |
|
Retrieves the transformation that is applied to this brush object. |
|
Sets the degree of opacity of this brush object. |
|
Sets the transformation to apply to this brush by using relative coordinates. |
|
Sets the transformation to apply to this brush object. |
Remarks
IXRBrush provides the base class for brushes in Silverlight for Windows Embedded. Each brush paints an area differently. Brushes can paint an area with a solid color, a gradient, or an image. The following list describes the different kinds of brushes:
- IXRSolidColorBrush: Paints an area with a solid color.
- IXRLinearGradientBrush: Paints an area with a linear gradient.
- IXRRadialGradientBrush: Paints an area with a radial gradient.
- IXRImageBrush: Paints an area with an image.
You can paint an area on the graphical window by using an IXRSolidColorBrush that uses a predefined solid color. To do this in C++ code, set a color for the IXRSolidColorBrush. For more information, see IXRSolidColorBrush.
Inheritance Hierarchy
IXRBrush
.NET Framework Equivalent
System.Windows.Media.Brush
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |