Xojo.Core.Point

From Xojo Documentation

Revision as of 14:48, 30 March 2018 by PLefebvre (talk | contribs) (Created page with "{{ClassBox | super = Object | platform = all }} {{Description |text = Represents a point in 2D space. Useful for things like the center of a rectangle or the location of the m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

Represents a point in 2D space. Useful for things like the center of a rectangle or the location of the mouse or touch event. Points are immutable and cannot be changed.


Properties
X fa-lock-32.png Y fa-lock-32.png


Methods
DistanceTo Translate


Constructors

Constructor(X As Double, Y As Double)



Shared Methods
Zero


Operators
Add Negate
Compare Subtract


See Also

Canvas control; Window, ContainerControl, Realbasic.Rect, Realbasic.Size classes.