There are a few problems with setReferencePoint and xReference and yReference that caused problems with Graphics 1.0. The main issue was around scaling and changing object sizes when reference points are changed. This is because the reference points used the object width and height values to compute the reference values. Based on the number of bug reports we received, this was causing problems for lots of users and introduced bugs that couldn’t be fixed with the current implementation.
When we designed Graphics 2.0, we replaced the x/yReference values with anchor points, which ranged from 0 to 1. Anchor point values are independent of the object actual width/height values and go a long way to eliminate the issues we had with the Graphics 1.0 implementation.
When you run in v1 compatibility mode l Graphics 2.0, setReferencePoint uses anchor points under the hood and x/yReferenece values are not implemented. In v1 mode, anchor points are not available in the API because they are not compatible with the Graphics 1.0 API. We found most users never used x/yReference since they were never intended to be manipulated directly (they are set internally by the setReferencePoint method).
When we say setReferencePoint (x/yReference) can be replaced by anchorX and anchorY, we are talking about Graphics 2 in non-v1 compatibility mode. If you run your code in v1 mode, you are restricted to using the setReferencePoint method to change objects reference points to the standard offsets (TopLeft, TopRight, Center, etc.).
If you convert your program to run in Graphics 2.0 mode, you could use anchorX and anchorY to emulate what you did with xReference and yReference. For your existing code, you might look at your code implementation to see if you can do the same things by manipulating x,y values.
The v1 compatibility mode was introduced to help users transition to Graphics 2 without having to make many changes to their existing program. For all new projects we recommend moving to the full Graphics 2 API. All new features added to Graphics 2.0 won’t be available in v1 mode so we see the v1 mode only being used for a limited time.
Tom