Share via


Strokes Members

Include Protected Members
Include Inherited Members

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

Contains the collection of Stroke objects.

The Strokes type exposes the following members.

Methods

  Name Description
Public method Add Overloaded. Adds one or more Stroke objects to the Strokes collection.
Public method Clear Clears all the Stroke objects from the Strokes collection.
Public method Clip Removes the portions of every Stroke object in the Strokes collection that are outside a given rectangle.
Public method Contains Indicates whether the Strokes collection contains a specific Stroke object.
Public method CopyTo Copies all of the elements of the current Strokes collection to the specified one-dimensional array, starting at the specified destination array index.
Public method Dispose Overloaded. Releases resources used by the Strokes collection.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees the resources of the current Strokes object before it is reclaimed by the garbage collector. (Overrides Object.Finalize().)
Public method GetBoundingBox Overloaded. Returns the bounding Rectangle that contains the Strokes collection.
Public method GetEnumerator Returns an object that implements the IEnumerator interface and that can iterate through the Stroke objects within the Strokes collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of a specific Stroke object within a Strokes collection.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ModifyDrawingAttributes Sets the DrawingAttributes property of all of the Stroke objects in Strokes collection.
Public method Move Applies a translation to the ink of the Strokes collection.
Public method Remove Overloaded. Removes one or more Stroke objects from the Strokes collection.
Public method RemoveAt Removes the Stroke object at the specified index of the Strokes collection.
Public method RemoveRecognitionResult Removes the RecognitionResult object that is associated with the Strokes collection.
Public method Rotate Rotates the Strokes collection around a center point.
Public method Scale Scales the Strokes collection in the X and Y dimensions.
Public method ScaleToRectangle Scales the Strokes collection to fit in the specified Rectangle structure.
Public method Shear Shears the Strokes collection by the specified horizontal and vertical factors.
Public method ToString Deprecated. Returns a string that represents the top RecognitionResult object for the current Strokes collection. (Overrides Object.ToString().)
Public method Transform Overloaded. Applies a linear transformation to a Strokes collection.

Top

Properties

  Name Description
Public property Count Gets the number of Stroke objects contained in the Strokes collection.
Public property Ink Gets the Ink object that contains the Strokes collection.
Public property IsFixedSize Gets a value indicating whether the Strokes collection has a fixed size.
Public property IsReadOnly Gets a value indicating whether the Strokes collection is read-only.
Public property IsSynchronized Gets a value that indicates whether or not access to the Strokes collection is synchronized (thread safe).
Public property Item Gets the Stroke object at the specified index within the Strokes collection.
Public property RecognitionResult Gets the RecognitionResult object of the Strokes collection.
Public property SyncRoot Returns an object that can be used to synchronize access to the Strokes collection.

Top

Events

  Name Description
Public event StrokesAdded Occurs when one or more Stroke objects are added to the Strokes collection.
Public event StrokesRemoved Occurs when one or more Stroke objects are deleted from the Strokes collection.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

Top

See Also

Reference

Strokes Class

Microsoft.Ink Namespace