Stroke - члены
Включить защищенные члены
Включить унаследованные члены
Включить члены .NET Framework
Включить члены .NET Compact Framework
Включить члены XNA Framework
Обновлен: Ноябрь 2007
Represents a single ink stroke. A stroke is a set of properties and point data that the digitizer captures that represent the coordinates and properties of a known ink mark. It is the set of data that is captured in a single pen down, up, or move sequence.
Тип Stroke предоставляет следующие члены.
Методы
Имя | Описание | |
---|---|---|
Clip | Removes the portions of the Stroke object that are outside a given rectangle. | |
Equals | Определяет, равен ли заданный объект Object текущему объекту Object. (Унаследовано от Object.) | |
Finalize | Позволяет объекту Object попытаться освободить ресурсы и выполнить другие операции очистки, перед тем как объект Object будет утилизирован в процессе сборки мусора. (Унаследовано от Object.) | |
FindIntersections | Finds the points where this Stroke object intersects other Stroke objects within a given Strokes collection. | |
GetBoundingBox | Перегружен. Returns the bounding Rectangle that contains the Stroke object. | |
GetFlattenedBezierPoints | Перегружен. Returns the array of points that are used to approximate the Bezier representation of a Stroke object. | |
GetHashCode | Играет роль хэш-функции для определенного типа. (Унаследовано от Object.) | |
GetPacketData | Перегружен. Returns the packet data associated with one or more points in a Stroke object. | |
GetPacketDescriptionPropertyMetrics | Returns the metrics for a given packet description type. | |
GetPacketValuesByProperty | Перегружен. Returns the data for a specified packet property from one or more packets in the Stroke object. | |
GetPoint | Returns the Point structure at the specified index in a Stroke object. | |
GetPoints | Перегружен. Returns an array of Point structures that make up the Stroke object. | |
GetRectangleIntersections | Returns an array of StrokeIntersection structures that indicate where a Stroke object intersects a given Rectangle. | |
GetType | Возвращает объект Type для текущего экземпляра. (Унаследовано от Object.) | |
HitTest | Returns a value that indicates whether a Stroke object is either completely inside or intersected by a given circle. | |
MemberwiseClone | Создает неполную копию текущего объекта Object. (Унаследовано от Object.) | |
Move | Applies a translation to the ink of the Stroke object. | |
NearestPoint | Перегружен. Returns the location on the Stroke object nearest to a specified Point. | |
Rotate | Rotates the Stroke object around a center point. | |
Scale | Scales the Stroke object in the X and Y dimensions. | |
ScaleToRectangle | Scales the Stroke object to fit in the specified Rectangle structure. | |
SetPacketValuesByProperty | Перегружен. Sets the data for a specified packet property for one or more packets in the Stroke object. | |
SetPoint | Sets the Point structure at the specified index in a Stroke object. | |
SetPoints | Перегружен. Sets an array of Point structures at the specified indices in a Stroke object. | |
Shear | Shears the Stroke object by the specified horizontal and vertical factors. | |
Split | Splits the Stroke object at the specified location on the Stroke object and returns the new Stroke object. | |
ToString | Возвращает объект String, который представляет текущий объект Object. (Унаследовано от Object.) | |
Transform | Перегружен. Applies a linear transformation to a Stroke object. |
В начало страницы
Свойства
Имя | Описание | |
---|---|---|
BezierCusps | Gets an array that contains the indices of the cusps of the Bezier approximation of the Stroke object. | |
BezierPoints | Gets the array of control points that represent the Bezier approximation of the stroke. | |
Deleted | Gets a value that indicates whether the Stroke object has been deleted from its parent Ink object. | |
DrawingAttributes | Gets or sets the drawing attributes to apply to ink as it is drawn. | |
ExtendedProperties | Gets the collection of application-defined data. | |
Id | Gets the identifier of the Stroke object. | |
Ink | Gets the parent Ink object of the Stroke object. | |
PacketCount | Gets the number of packet received for a Stroke object. | |
PacketDescription | Gets an array of type Guid that describes the types of packet data stored in the Stroke object. | |
PacketSize | Gets the size, in bytes, of a packet. | |
PolylineCusps | Gets an array that contains the indices of the cusps of the Stroke object. | |
SelfIntersections | Gets the self-intersections of the Stroke object. |
В начало страницы