PointF Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PointF(Vector2) |
Initializes a new instance of the PointF struct from the specified Vector2. |
PointF(Single, Single) |
Initializes a new instance of the PointF class with the specified coordinates. |
PointF(Vector2)
- Source:
- PointF.cs
- Source:
- PointF.cs
- Source:
- PointF.cs
public:
PointF(System::Numerics::Vector2 vector);
public PointF(System.Numerics.Vector2 vector);
new System.Drawing.PointF : System.Numerics.Vector2 -> System.Drawing.PointF
Public Sub New (vector As Vector2)
Parameters
- vector
- Vector2
The source vector.
Applies to
PointF(Single, Single)
- Source:
- PointF.cs
- Source:
- PointF.cs
- Source:
- PointF.cs
Initializes a new instance of the PointF class with the specified coordinates.
public:
PointF(float x, float y);
public PointF(float x, float y);
new System.Drawing.PointF : single * single -> System.Drawing.PointF
Public Sub New (x As Single, y As Single)
Parameters
- x
- Single
The horizontal position of the point.
- y
- Single
The vertical position of the point.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET