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

From Xojo Documentation

Revision as of 18:11, 24 August 2018 by PLefebvre (talk | contribs) (Created page with "{{ConstructorBox | name=Constructor | owner=Parent | ownertype=class | scope=public | parameters=X As Double, Y As Double }} {{Description | text = Initializes the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

Parent.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)