TypeLibF REALbasic Support Plugin

PointF Class

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_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.