Represents the tip of a stylus.
Assembly: PresentationCore (in PresentationCore.dll)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The M:System.Windows.Ink.StrokeCollection.Erase(System.Windows.Point,System.Windows.Ink.StylusShape) and M:System.Windows.Ink.StrokeCollection.HitTest(System.Windows.Point,System.Windows.Ink.StylusShape) use a to determine the stylus tip of the hitting stroke. The EllipseStylusShape and RectangleStylusShape classes inherit from .specifies the shape, width, and height of the tip of a stylus. Methods such as
This class is not typically used in XAML.
The following example demonstrates how to create a GetIncrementalStrokeHitTester method to erase a portion of a Stroke. This example assumes that there is a IncrementalStrokeHitTester called eraseTester and that its StrokeHit event has been connected to the event handler defined in this example. To create a control that allows a user to erase ink, see How to: Erase Ink on a Custom Control.and pass it to the
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.