PointF 구조체
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
2차원 평면에서 점을 정의하는 순서가 지정된 부동 소수점 x 및 y 좌표 쌍을 나타냅니다.
public value class PointF : IEquatable<System::Drawing::PointF>
public value class PointF
public struct PointF : IEquatable<System.Drawing.PointF>
public struct PointF
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct PointF
type PointF = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type PointF = struct
Public Structure PointF
Implements IEquatable(Of PointF)
Public Structure PointF
- 상속
- 특성
- 구현
설명
를 PointFPoint, use Point.Round 또는 Point.Truncate.로 변환하려면
생성자
| Name | Description |
|---|---|
| PointF(Single, Single) |
지정된 좌표를 사용하여 클래스의 PointF 새 인스턴스를 초기화합니다. |
| PointF(Vector2) |
필드
| Name | Description |
|---|---|
| Empty |
멤버 데이터가 초기화되지 않은 상태로 남아 있는 클래스의 PointF 새 인스턴스를 나타냅니다. |
속성
| Name | Description |
|---|---|
| IsEmpty |
비어 PointF 있는지 여부를 나타내는 값을 가져옵니다. |
| X |
이 PointF좌표의 x 좌표를 가져오거나 설정합니다. |
| Y |
이 PointFY 좌표를 가져오거나 설정합니다. |
메서드
| Name | Description |
|---|---|
| Add(PointF, Size) | |
| Add(PointF, SizeF) | |
| Equals(Object) | |
| Equals(PointF) |
현재 개체가 같은 형식의 다른 개체와 같은지 여부를 나타냅니다. |
| GetHashCode() |
이 PointF 구조체에 대한 해시 코드를 반환합니다. |
| Subtract(PointF, Size) |
PointF 지정된 크기의 음수로 변환합니다. |
| Subtract(PointF, SizeF) |
PointF 지정된 크기의 음수로 변환합니다. |
| ToString() |
이 PointF 문자열을 사람이 읽을 수 있는 문자열로 변환합니다. |
| ToVector2() |
연산자
| Name | Description |
|---|---|
| Addition(PointF, Size) | |
| Addition(PointF, SizeF) | |
| Equality(PointF, PointF) |
두 PointF 구조를 비교합니다. 결과는 두 X 구조체의 Y 값과 PointF 속성이 같은지 여부를 지정합니다. |
| Explicit(PointF to Vector2) | |
| Explicit(Vector2 to PointF) | |
| Inequality(PointF, PointF) |
지정된 점의 좌표가 같지 않은지 여부를 확인합니다. |
| Subtraction(PointF, Size) | |
| Subtraction(PointF, SizeF) |