IXRGradientBrush (Compact 2013)
3/28/2014
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
Inheritance Hierarchy
IXRGradientBrush
Methods
Method |
Description |
---|---|
Retrieves an XRColorInterpolationMode enumerated type that specifies how the gradient's colors are interpolated. |
|
Retrieves this brush's gradient stops. |
|
Retrieves a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area. |
|
Retrieves the spread method used to determine how a gradient is drawn when it starts or ends inside the bounds of the target object. |
|
Sets an XRColorInterpolationMode enumerated type that specifies how the gradient's colors are interpolated. |
|
Sets this brush's gradient stops. |
|
Sets a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area. |
|
Sets the spread method used to determine how a gradient is drawn when it starts or ends inside the bounds of the target object. |
Thread Safety
Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.
Remarks
If you create a class instance, use an IXRGradientBrushPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
.NET Framework Equivalent
System.Windows.Media.GradientBrush
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |