Поделиться через


StrokeIntersection - конструктор

Обновлен: Ноябрь 2007

Initializes a new instance of the StrokeIntersection structure from the start and end indices.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Sub New ( _
    beginIndex As Single, _
    endIndex As Single _
)
'Применение
Dim beginIndex As Single
Dim endIndex As Single

Dim instance As New StrokeIntersection(beginIndex, _
    endIndex)
public StrokeIntersection(
    float beginIndex,
    float endIndex
)
public:
StrokeIntersection(
    float beginIndex, 
    float endIndex
)
public StrokeIntersection(
    float beginIndex,
    float endIndex
)
public function StrokeIntersection(
    beginIndex : float, 
    endIndex : float
)

Параметры

  • beginIndex
    Тип: System.Single
    The start of the stroke intersection, as a floating point index.
  • endIndex
    Тип: System.Single
    The end of the stroke intersection, as a floating point index.

Заметки

A floating point index is a float value that represents a location somewhere between two points in the stroke. As examples, if 0.0 is the first point in the stroke and 1.0 is the second point in the stroke, 0.5 is halfway between the first and second points. Similarly, a floating point index value of 37.25 represents a location that is 25 percent along the line between points 37 and 38 of the stroke.

Примеры

This C# example declares and creates a StrokeIntersection structure, theStrokeIntersection.

StrokeIntersection theStrokeIntersection = new StrokeIntersection(start, end);

This Microsoft® Visual Basic® .NET example declares and creates a StrokeIntersection structure, theStrokeIntersection.

Dim theStrokeIntersection As New StrokeIntersection(start, end)

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

StrokeIntersection Структура

StrokeIntersection - члены

Microsoft.Ink - пространство имен