...
The reference point of a frame is configurable on document and frame level (cascading: frame overrules document setting)configured at the Frame Location panel
When you choose the top-left corner as the reference point, all coordinates (X, Y, width, Height, Rotation, Skew, ...) will refer off that point.
...