IXRStylusPoint (Windows Embedded CE 6.0)

1/6/2010

This class represents a single point collected when the user makes an ink stroke with the stylus.

Syntax

class IXRStylusPoint : public IXRDependencyObject

Methods

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

Name Description

IXRStylusPoint::GetPressureFactor

Retrieves the pressure factor of the stylus on the screen.

IXRStylusPoint::GetX

Retrieves the value of the x-coordinate of the IXRStylusPoint.

IXRStylusPoint::GetY

Retrieves the value of the y-coordinate of the IXRStylusPoint.

IXRStylusPoint::SetPressureFactor

Sets the pressure factor of the stylus on the screen.

IXRStylusPoint::SetX

Sets the value of the x-coordinate of the IXRStylusPoint.

IXRStylusPoint::SetY

Sets the value of the y-coordinate of the IXRStylusPoint.

Remarks

The IXRStylusPoint structure represents a single point. All IXRStylusPoint objects contain properties that indicate the coordinates and the pressure of the point..

Note

You can determine the relevant PressureFactor only if the device supports it. Otherwise, PressureFactor has a default value of 0.5.

Multiple IXRStylusPoint objects make up an IXRStroke object. The IXRStroke object stores the stylus points in the StylusPoints property.

You can also define an IXRStylusPoint 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

  IXRStylusPoint

.NET Framework Equivalent

System.Windows.Input.StylusPoint

Requirements

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

See Also

Reference

Classes for Ink Input