CALayer and frame
CALayer and frame
- Subject: CALayer and frame
- From: Francisco Tolmasky <email@hidden>
- Date: Fri, 25 Jan 2008 19:28:18 -0800
I'm wondering if someone can clear up my suspicions with CALayer's
frame property.
Essentially, my confusion stems from the fact that doing:
myLayer.frame = myLayer.frame
*changes* the frame of the myLayer. From what I can perceive, it
would appear that
[myLayer frame] returns the bounding box of the layer (the smallest
rect that could
contain it), but [myLayer setFrame:] just sets the bounds equal to the
frames size/width
and adjusts the anchor point. Is this correct?
Thanks,
Francisco
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden