This documentation is archived and is not being maintained.
Stroke Methods
Visual Studio 2010
The Stroke type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddPropertyData | Adds a custom property to the Stroke object. |
|
Clone | Returns a deep copy of the existing Stroke object. |
|
ContainsPropertyData | Returns a value that indicates whether the Stroke object contains the specified custom property. |
|
Draw(DrawingContext) | Renders the Stroke object based upon the specified DrawingContext. |
|
Draw(DrawingContext, DrawingAttributes) | Renders the Stroke object based upon the specified DrawingContext and DrawingAttributes. |
|
DrawCore | Renders the Stroke on the specified DrawingContext using the specified DrawingAttributes. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetBezierStylusPoints | Returns the stylus points the Stroke uses when FitToCurve is true. |
|
GetBounds | Retrieves the bounding box for the Stroke object. |
|
GetClipResult(IEnumerable<Point>) | Returns segments of the current Stroke that are within the specified bounds. |
|
GetClipResult(Rect) | Returns segments of the current Stroke that are within the specified rectangle. |
|
GetEraseResult(IEnumerable<Point>) | Returns segments of the current Stroke that are outside the specified bounds. |
|
GetEraseResult(Rect) | Returns segments of the current Stroke that are outside the specified rectangle. |
|
GetEraseResult(IEnumerable<Point>, StylusShape) | Returns the segments of the current Stroke after it is dissected by the designated path using the specified StylusShape. |
|
GetGeometry() | Gets the Geometry of the current Stroke. |
|
GetGeometry(DrawingAttributes) | Gets the Geometry of the current Stroke using the specified DrawingAttributes. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetPropertyData | Retrieves the property data for the specified GUID. |
|
GetPropertyDataIds | Retrieves the GUIDs of any custom properties associated with the Stroke object. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HitTest(Point) | Returns a value that indicates whether current Stroke intersects the specified point. |
|
HitTest(IEnumerable<Point>, Int32) | Returns a value that indicates whether the current Stroke is within the specified bounds. |
|
HitTest(IEnumerable<Point>, StylusShape) | Returns whether the specified path intersects the Stroke using the specified StylusShape. |
|
HitTest(Point, Double) | Returns a value that indicates whether current Stroke intersects the specified area. |
|
HitTest(Rect, Int32) | Returns a value that indicates whether the Stroke is within the bounds of the specified rectangle. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnDrawingAttributesChanged | Allows derived classes to modify the default behavior of the DrawingAttributesChanged event. |
|
OnDrawingAttributesReplaced | Allows derived classes to modify the default behavior of the DrawingAttributesReplaced event. |
|
OnInvalidated | Raises the Invalidated event. |
|
OnPropertyChanged | Occurs when any Stroke property changes. |
|
OnPropertyDataChanged | Allows derived classes to modify the default behavior of the PropertyDataChanged event. |
|
OnStylusPointsChanged | Raises the StylusPointsChanged event. |
|
OnStylusPointsReplaced | Raises the StylusPointsReplaced event. |
|
RemovePropertyData | Deletes a custom property from the Stroke object. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
Transform | Performs a transformation based upon the specified Matrix object. |
Show: