Graphics Reference
In-Depth Information
corner is {1, 1}. The default (center) position is therefore {0.5, 0.5}. The anchorPoint
can be placed outside of the layer bounds by specifying x or y values that are less than zero
or greater than one.
Note in Figure 3.3 that when we change the anchorPoint , the position property does
not change. Instead, the position remains fixed and the frame of the layer moves.
Figure 3.3 The effect that changing the anchorPoint has on the frame
Search WWH ::




Custom Search