StylusPoint Structure
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents a single point collected while the user is entering ink strokes with the stylus or mouse.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
The StylusPoint type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PressureFactor | Gets or sets the pressure factor of the stylus on the screen. |
![]() | X | Gets or sets the value for the x-coordinate of the StylusPoint. |
![]() | Y | Gets or sets the value for the y-coordinate of the StylusPoint. |
| Name | Description | |
|---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
The StylusPoint structure represents a single point. All StylusPoint objects contain properties that indicate the (x, y) coordinates and the pressure.
Note: |
|---|
You can get the relevant PressureFactor only if the device supports it. Otherwise, PressureFactor will have a default value of 0.5. |
Multiple StylusPoint objects typically make up a Stroke object. The Stroke object stores the stylus points in the StylusPoints property.



Note: