Difference between revisions of "Xojo.Core.Point.Constructor(X As Double, Y As Double)"

From Xojo Documentation

(Created page with "{{ConstructorBox | name=Constructor | owner=Parent | ownertype=class | scope=public | parameters=X As Double, Y As Double }} {{Description | text = Initializes the...")
 
Line 1: Line 1:
 
{{ConstructorBox
 
{{ConstructorBox
 
| name=Constructor
 
| name=Constructor
| owner=[[Parent]]
+
| owner=[[Xojo.Core.Point]]
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public

Revision as of 18:11, 24 August 2018

Constructor

Xojo.Core.Point.Constructor(X As Double, Y As Double)

Initializes the Point with an (x, y) of the parameters passed in.

Sample Code

Create a point for 100, 50:

Dim p As New Xojo.Core.Point(100, 50)