Export (0) Print
Expand All

Stroke Members

Represents a single ink stroke.

The Stroke type exposes the following members.

  NameDescription
Public method Stroke Overloaded. Initializes a new instance of the Stroke class.
Top

  NameDescription
Public method AddPropertyData Adds a custom property to the Stroke object.
Public method Clone Returns a deep copy of the existing Stroke object.
Public method ContainsPropertyData Returns a value that indicates whether the Stroke object contains the specified custom property.
Public method Draw Overloaded. Renders the Stroke object based upon a DrawingContext.
Protected method DrawCore Renders the Stroke on the specified DrawingContext using the specified DrawingAttributes.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBezierStylusPoints Returns the stylus points the Stroke uses when FitToCurve is true.
Public method GetBounds Retrieves the bounding box for the Stroke object.
Public method GetClipResult Overloaded. Returns segments of the current Stroke that are within the specified area.
Public method GetEraseResult Overloaded. Returns the segments of the current Stroke after part of the Stroke is erased.
Public method GetGeometry Overloaded. Gets the Geometry of the current Stroke.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyData Retrieves the property data for the specified GUID.
Public method GetPropertyDataIds Retrieves the GUIDs of any custom properties associated with the Stroke object.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HitTest Overloaded. Returns whether the Stroke intersects or is within a certain area.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDrawingAttributesChanged Allows derived classes to modify the default behavior of the DrawingAttributesChanged event.
Protected method OnDrawingAttributesReplaced Allows derived classes to modify the default behavior of the DrawingAttributesReplaced event.
Protected method OnInvalidated Raises the Invalidated event.
Protected method OnPropertyChanged Occurs when any Stroke property changes.
Protected method OnPropertyDataChanged Allows derived classes to modify the default behavior of the PropertyDataChanged event.
Protected method OnStylusPointsChanged Raises the StylusPointsChanged event.
Protected method OnStylusPointsReplaced Raises the StylusPointsReplaced event.
Public method RemovePropertyData Deletes a custom property from the Stroke object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Transform Performs a transformation based upon the specified Matrix object.
Top

  NameDescription
Public property DrawingAttributes Gets or sets the DrawingAttributes for the Stroke object.
Public property StylusPoints Returns the stylus points of the Stroke.
Top

  NameDescription
Public event DrawingAttributesChanged Occurs when the DrawingAttributes associated with the Stroke object change.
Public event DrawingAttributesReplaced Occurs when the drawing attributes of a Stroke object are replaced.
Public event Invalidated Occurs when the appearance of the Stroke changes.
Public event PropertyDataChanged Occurs when the custom properties on a Stroke object changes.
Public event StylusPointsChanged Occurs when the StylusPoints property changes.
Public event StylusPointsReplaced Occurs when the StylusPoints property is assigned a new StylusPointCollection.
Top

  NameDescription
Explicit interface implemetation Private event INotifyPropertyChanged.PropertyChanged Infrastructure. Occurs when the value of any Stroke property has changed.
Top

Community Additions

ADD
Show:
© 2014 Microsoft