Next: , Previous: , Up: Point   [Index]


1.132.3 Point: arithmetic

* scale

Multiply the receiver by scale, which can be a Number or a Point

+ delta

Sum the receiver and delta, which can be a Number or a Point

- delta

Subtract delta, which can be a Number or a Point, from the receiver

/ scale

Divide the receiver by scale, which can be a Number or a Point, with no loss of precision

// scale

Divide the receiver by scale, which can be a Number or a Point, with truncation towards -infinity

abs

Answer a new point whose coordinates are the absolute values of the receiver’s