StylusEventArgs.GetStylusPoints 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
StylusPointCollection 이벤트에서 수집된 개체를 StylusPoint 포함하는 개체를 반환합니다.
오버로드
| Name | Description |
|---|---|
| GetStylusPoints(IInputElement) |
StylusPointCollection 지정된 입력 요소를 기준으로 개체를 StylusPoint 포함하는 값을 반환합니다. |
| GetStylusPoints(IInputElement, StylusPointDescription) |
StylusPointCollection 지정된 StylusPointDescription 입력 요소와 관련된 개체를 StylusPoint 포함하는 지정된 값을 사용하는 값을 반환합니다. |
GetStylusPoints(IInputElement)
StylusPointCollection 지정된 입력 요소를 기준으로 개체를 StylusPoint 포함하는 값을 반환합니다.
public:
System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints(System.Windows.IInputElement relativeTo);
member this.GetStylusPoints : System.Windows.IInputElement -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement) As StylusPointCollection
매개 변수
- relativeTo
- IInputElement
IInputElement(x,y) 좌표가 StylusPointCollection 매핑되는 값입니다.
반품
StylusPointCollection 이벤트에서 수집된 개체를 포함하는 StylusPoint A입니다.
예외
relativeTo 가 둘 다 UIElement 아니거나 FrameworkContentElement.
적용 대상
GetStylusPoints(IInputElement, StylusPointDescription)
StylusPointCollection 지정된 StylusPointDescription 입력 요소와 관련된 개체를 StylusPoint 포함하는 지정된 값을 사용하는 값을 반환합니다.
public:
System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo, System::Windows::Input::StylusPointDescription ^ subsetToReformatTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints(System.Windows.IInputElement relativeTo, System.Windows.Input.StylusPointDescription subsetToReformatTo);
member this.GetStylusPoints : System.Windows.IInputElement * System.Windows.Input.StylusPointDescription -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement, subsetToReformatTo As StylusPointDescription) As StylusPointCollection
매개 변수
- relativeTo
- IInputElement
IInputElement(x,y) 좌표가 StylusPointCollection 매핑되는 값입니다.
- subsetToReformatTo
- StylusPointDescription
에서 StylusPointDescription 사용할 수 있는 개체입니다 StylusPointCollection.
반품
StylusPointCollection 이벤트 중에 수집된 개체를 포함하는 StylusPoint A입니다.
예외
relativeTo 가 둘 다 UIElement 아니거나 FrameworkContentElement.
설명
subsetToReformatTo 는 메서드의 DescriptionStylusPointCollectionGetStylusPoints(IInputElement) 속성과 호환되어야 합니다. 메서드를 GetCommonDescription 호출 GetStylusPoints(IInputElement, StylusPointDescription) 하기 전에 메서드를 StylusPointDescription 사용하여 가져옵니다.
메모
GetStylusPoints 에서는 제약 조건이 StylusPointCollection 다르더라도 in StylusEventArgs의 제약 조건을 subsetToReformatTo 사용합니다. 예를 들어 0과 1023 값을 사용 NormalPressure 하지만 StylusEventArgs 0과 255 GetStylusPoints 값을 사용하는 경우 subsetToReformatTo 값 0과 255를 포함하는 값을 반환 StylusPointDescription 합니다.