offset within a 2D coordinate system More...

Public Member Functions | |
| Offset () | |
| Offset (number x, number y) | |
| Offset (number[] xy) | |
| Offset (object xy) | |
| Offset | add (Offset offset) |
| Offset | assign (Offset offset) |
| Offset | div (Offset offset) |
| Offset | dividedby (Offset offset) |
| boolean | equals (Offset offset) |
| Offset | minus (Offset offset) |
| Offset | mul (Offset offset) |
| boolean | notEquals (Offset offset) |
| Offset | plus (Offset offset) |
| Offset | sub (Offset offset) |
| Offset | times (Offset offset) |
Public Attributes | |
| number | x |
| number | y |
offset within a 2D coordinate system
Offset provides support for dealing with offsets as x, y floating point values in 2 dimensional space. The PDG coordinate space starts with the top left corner of the drawing port at Point(0,0) and the bottom left corner at Point( width, height );
| Offset | ( | ) |
| Offset | ( | number | x, |
| number | y | ||
| ) |
| Offset | ( | number[] | xy | ) |
| Offset | ( | object | xy | ) |
| boolean equals | ( | Offset | offset | ) |
| boolean notEquals | ( | Offset | offset | ) |
| number x |
| number y |
and a whole mess of custom scripts.