Xojo.Core.Point

From Xojo Documentation

Revision as of 15:24, 8 March 2019 by PLefebvre (talk | contribs) (See Also)
(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

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