This documentation is archived and is not being maintained.

PointF Constructor

Initializes a new instance of the PointF class with the specified coordinates.

[Visual Basic]
Public Sub New( _
   ByVal x As Single, _
   ByVal y As Single _
)
[C#]
public PointF(
   float x,
 float y
);
[C++]
public: PointF(
   float x,
 float y
);
[JScript]
public function PointF(
   x : float,
 y : float
);

Parameters

x
The horizontal position of the point.
y
The vertical position of the point.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PointF Structure | PointF Members | System.Drawing Namespace

Show: