RectDiff
Axis-aligned rectangle difference represented as a tuple. Describes coordinate-wise deltas between two rectangles (B - A).
Invariants:
- diff[0] = x1B - x1A
- diff[1] = y1B - y1A
- diff[2] = x2B - x2A
- diff[3] = y2B - y2A
Type
Object
Properties
| Name | Type | Description |
|---|---|---|
| 0 | pt | dx1 (left delta) |
| 1 | pt | dy1 (top delta) |
| 2 | pt | dx2 (right delta) |
| 3 | pt | dy2 (bottom delta) |