다음을 통해 공유


StrokeIntersection 생성자

업데이트: 2007년 11월

시작 및 끝 인덱스에서 StrokeIntersection 구조체의 새 인스턴스를 초기화합니다.

네임스페이스:  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
    부동 소수점 인덱스에서 스트로크 교차의 시작 부분입니다.
  • endIndex
    형식: System.Single
    부동 소수점 인덱스에서 스트로크 교차의 끝 부분입니다.

설명

부동 소수점 인덱스는 스트로크의 두 점 사이에 있는 위치를 나타내는 부동 소수점 값입니다. 예를 들어 스트로크에서 첫 번째 점이 0.0이고 두 번째 점이 1.0인 경우 0.5는 첫 번째 점과 두 번째 점 사이의 중간 지점입니다. 마찬가지로 부동 소수점 인덱스 값 37.25는 스트로크의 37번과 38번 점 사이의 선에서 25% 위치를 나타냅니다.

예제

이 C# 예제에서는 StrokeIntersection 구조체인 theStrokeIntersection을 선언하고 만듭니다.

StrokeIntersection theStrokeIntersection = new StrokeIntersection(start, end);

이 Microsoft® Visual Basic® .NET 예제에서는 StrokeIntersection 구조체인 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 네임스페이스