Constructs a Point.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal x As Double, _
ByVal y As Double _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim x As Double
Dim y As Double
Dim instance As New Point(x, y) |
Parameters
- x
- X-coordinate of the point.
- y
- Y-coordinate of the point.
Example
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also