IXRDrawingAttributes (Windows Embedded CE 6.0)
1/6/2010
This class specifies the drawing attributes of an ink stroke.
Syntax
class IXRDrawingAttributes : public IXRDependencyObject
Methods
In addition to the methods inherited from IXRDependencyObject, this class contains the following methods.
Name | Description |
---|---|
Retrieves the color of an ink stroke. |
|
Retrieves the height of the stylus tip. |
|
Retrieves the outline color an ink stroke. |
|
Retrieves the width of the stylus tip. |
|
Sets the color of an ink stroke. |
|
Sets the height of the stylus tip. |
|
Sets the outline color of an ink stroke. |
|
Sets the width of the stylus tip. |
Remarks
You use the IXRDrawingAttributes class to specify drawing attributes, such as height, width, color, and outline color. You can use the IXRStroke::SetDrawingAttributes method to apply the drawing attributes to a stroke.
You can also define an IXRDrawingAttributes object 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
IXRDrawingAttributes
.NET Framework Equivalent
System.Windows.Ink.DrawingAttributes
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |