Skip to main content
Integer type (measured in dots) that represents distances.

Methods

MethodDescription
Distance abs( Distance )Returns the absolute value of a distance.

Operators

OperatorDescription
-Changes the sign. Unary operator.
+Adds values of type Distance. Binary operator.
-Subtracts values of type Distance. Binary operator.
*Multiplies a value of type Distance by a value of type Int. Binary operator. Returns a value of type Distance.
*Multiplies values of type Distance. Binary operator. Returns a value of type Area.
/Divides a value of type Distance by a value of type Int. Binary operator. Returns a value of type Distance.
<, <=, >, >=, ==, !=Binary operators of comparison. Compare two values of type Distance: less than, less than or equal to, greater than, greater than or equal to, equal to, not equal to. Return a value of type Logic.