TypeLibF Xojo Plugin

PointF Class (console safe)

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

Object
   PointF

class PointF

Constructors

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

Properties

CloneReturns a clone of the PointF.
xSets or gets the x coordinate of the point.
ySets or gets the y coordinate of the point.

Methods

ClampTrims values in the point to values between minimum and maximum ranges.
DistanceReturns the distance to another point.
EqualReturns true if two points are equal.
Operator_AddA + operator to be able to add two points together.
Operator_ConvertA operator to convert the point to a string.
Operator_ConvertOperator to automatically convert Xojo.Core.Point to PointF.
Operator_NegateA negate operator to be able to return the negate a point.
Operator_SubtractA - operator to be able to subtract a point from another.
RotateRotates the point in a coordinate system around a defined center point.
SetSets all the values of the point in one call.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS