Xojo.Core.Point

From Xojo Documentation

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