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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.