Stroke Methods

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

The Stroke type exposes the following members.

Methods

  Name Description
Public method Clip Removes the portions of the Stroke object that are outside a given rectangle.
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 FindIntersections Finds the points where this Stroke object intersects other Stroke objects within a given Strokes collection.
Public method GetBoundingBox Overloaded. Returns the bounding Rectangle that contains the Stroke object.
Public method GetFlattenedBezierPoints Overloaded. Returns the array of points that are used to approximate the Bezier representation of a Stroke object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPacketData Overloaded. Returns the packet data associated with one or more points in a Stroke object.
Public method GetPacketDescriptionPropertyMetrics Returns the metrics for a given packet description type.
Public method GetPacketValuesByProperty Overloaded. Returns the data for a specified packet property from one or more packets in the Stroke object.
Public method GetPoint Returns the Point structure at the specified index in a Stroke object.
Public method GetPoints Overloaded. Returns an array of Point structures that make up the Stroke object.
Public method GetRectangleIntersections Returns an array of StrokeIntersection structures that indicate where a Stroke object intersects a given Rectangle.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HitTest Returns a value that indicates whether a Stroke object is either completely inside or intersected by a given circle.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Move Applies a translation to the ink of the Stroke object.
Public method NearestPoint Overloaded. Returns the location on the Stroke object nearest to a specified Point.
Public method Rotate Rotates the Stroke object around a center point.
Public method Scale Scales the Stroke object in the X and Y dimensions.
Public method ScaleToRectangle Scales the Stroke object to fit in the specified Rectangle structure.
Public method SetPacketValuesByProperty Overloaded. Sets the data for a specified packet property for one or more packets in the Stroke object.
Public method SetPoint Sets the Point structure at the specified index in a Stroke object.
Public method SetPoints Overloaded. Sets an array of Point structures at the specified indices in a Stroke object.
Public method Shear Shears the Stroke object by the specified horizontal and vertical factors.
Public method Split Splits the Stroke object at the specified location on the Stroke object and returns the new Stroke object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Transform Overloaded. Applies a linear transformation to a Stroke object.

Top

See Also

Reference

Stroke Class

Microsoft.Ink Namespace