TypeLibF Xojo Plugin

PointF Class (console safe)

This class defines a Point structure that uses floating point precision.


class PointF


PointFThe default constructor for the PointF class.
PointFA constructor which takes x and y coordinates as a parameters.


Clone (console safe) Returns a clone of the PointF.
x (console safe) Sets or gets the x coordinate of the point.
y (console safe) Sets or gets the y coordinate of the point.


Clamp (console safe) Trims values in the point to values between minimum and maximum ranges.
Distance (console safe) Returns the distance to another point.
Equal (console safe) Returns true if two points are equal.
Operator_Add (console safe) A + operator to be able to add two points together.
Operator_Convert (console safe) A operator to convert the point to a string.
Operator_Negate (console safe) A negate operator to be able to return the negate a point.
Operator_Subtract (console safe) A - operator to be able to subtract a point from another.
Rotate (console safe) Rotates the point in a coordinate system around a defined center point.
Set (console safe) Sets all the values of the point in one call.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM