Xojo.Core.Point

From Xojo Documentation

Revision as of 16:18, 14 August 2018 by PLefebvre (talk | contribs) (See Also)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Xojo.Core.Rect, Xojo.Core.Size classes