Stroke Methods

 

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodAddPropertyData(Guid, Object)

Adds a custom property to the Stroke object.

System_CAPS_pubmethodClone()

Returns a deep copy of the existing Stroke object.

System_CAPS_pubmethodContainsPropertyData(Guid)

Returns a value that indicates whether the Stroke object contains the specified custom property.

System_CAPS_pubmethodDraw(DrawingContext)

Renders the Stroke object based upon the specified DrawingContext.

System_CAPS_pubmethodDraw(DrawingContext, DrawingAttributes)

Renders the Stroke object based upon the specified DrawingContext and DrawingAttributes.

System_CAPS_protmethodDrawCore(DrawingContext, DrawingAttributes)

Renders the Stroke on the specified DrawingContext using the specified DrawingAttributes.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBezierStylusPoints()

Returns the stylus points the Stroke uses when FitToCurve is true.

System_CAPS_pubmethodGetBounds()

Retrieves the bounding box for the Stroke object.

System_CAPS_pubmethodGetClipResult(IEnumerable<Point>)

Returns segments of the current Stroke that are within the specified bounds.

System_CAPS_pubmethodGetClipResult(Rect)

Returns segments of the current Stroke that are within the specified rectangle.

System_CAPS_pubmethodGetEraseResult(IEnumerable<Point>)

Returns segments of the current Stroke that are outside the specified bounds.

System_CAPS_pubmethodGetEraseResult(IEnumerable<Point>, StylusShape)

Returns the segments of the current Stroke after it is dissected by the designated path using the specified StylusShape.

System_CAPS_pubmethodGetEraseResult(Rect)

Returns segments of the current Stroke that are outside the specified rectangle.

System_CAPS_pubmethodGetGeometry()

Gets the Geometry of the current Stroke.

System_CAPS_pubmethodGetGeometry(DrawingAttributes)

Gets the Geometry of the current Stroke using the specified DrawingAttributes.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetPropertyData(Guid)

Retrieves the property data for the specified GUID.

System_CAPS_pubmethodGetPropertyDataIds()

Retrieves the GUIDs of any custom properties associated with the Stroke object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHitTest(IEnumerable<Point>, Int32)

Returns a value that indicates whether the current Stroke is within the specified bounds.

System_CAPS_pubmethodHitTest(IEnumerable<Point>, StylusShape)

Returns whether the specified path intersects the Stroke using the specified StylusShape.

System_CAPS_pubmethodHitTest(Point)

Returns a value that indicates whether current Stroke intersects the specified point.

System_CAPS_pubmethodHitTest(Point, Double)

Returns a value that indicates whether current Stroke intersects the specified area.

System_CAPS_pubmethodHitTest(Rect, Int32)

Returns a value that indicates whether the Stroke is within the bounds of the specified rectangle.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnDrawingAttributesChanged(PropertyDataChangedEventArgs)

Allows derived classes to modify the default behavior of the DrawingAttributesChanged event.

System_CAPS_protmethodOnDrawingAttributesReplaced(DrawingAttributesReplacedEventArgs)

Allows derived classes to modify the default behavior of the DrawingAttributesReplaced event.

System_CAPS_protmethodOnInvalidated(EventArgs)

Raises the Invalidated event.

System_CAPS_protmethodOnPropertyChanged(PropertyChangedEventArgs)

Occurs when any Stroke property changes.

System_CAPS_protmethodOnPropertyDataChanged(PropertyDataChangedEventArgs)

Allows derived classes to modify the default behavior of the PropertyDataChanged event.

System_CAPS_protmethodOnStylusPointsChanged(EventArgs)

Raises the StylusPointsChanged event.

System_CAPS_protmethodOnStylusPointsReplaced(StylusPointsReplacedEventArgs)

Raises the StylusPointsReplaced event.

System_CAPS_pubmethodRemovePropertyData(Guid)

Deletes a custom property from the Stroke object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTransform(Matrix, Boolean)

Performs a transformation based upon the specified Matrix object.

Return to top
Show: