Share via


IXRStroke (Windows Embedded CE 6.0)

1/6/2010

This class represents a collection of points that constitutes a stroke.

Syntax

class IXRStroke : public IXRDependencyObject

Methods

In addition to the methods inherited from IXRDependencyObject, this class contains the following methods.

Name Description

IXRStroke::GetBounds

Retrieves the bounding box for the IXRStroke object.

IXRStroke::GetDrawingAttributes

Retrieves the properties of the stroke, such as Height, Width, Color, or OutlineColor.

IXRStroke::GetStylusPoints

Retrieves the stylus points of the IXRStroke.

IXRStroke::HitTest

Indicates whether a specified IXRStylusPointCollection intersects with this IXRStroke object.

IXRStroke::SetDrawingAttributes

Sets the properties of the stroke, such as Height, Width, Color, or OutlineColor.

IXRStroke::SetStylusPoints

Sets the stylus points of the IXRStroke.

Remarks

An IXRStroke object contains information about the position, shape, and appearance of the stroke. An IXRStroke contains a collection of IXRStylusPoint objects generated by an input device such as a stylus or mouse. You can create and manipulate IXRStroke objects and display them on an IXRInkPresenter object.

You can also define an IXRStroke object in Microsoft Silverlight 2 XAML. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site. 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.

Inheritance Hierarchy

IXRDependencyObject

  IXRStroke

.NET Framework Equivalent

System.Windows.Ink.Stroke

Requirements

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

See Also

Reference

Classes for Ink Input