CATextLayers text alignment?
CATextLayers text alignment?
- Subject: CATextLayers text alignment?
- From: Tim Andersson <email@hidden>
- Date: Fri, 10 Oct 2008 22:09:48 +0200
Hi there.
I'm using a CATextLayer to display some text which the user can change
the font size of. When the user changes the font size, I still want my
text to be centered, both vertically and horizontally.
As far as I know you can only set the the CATextLayers alignmentMode
to kCAAlignmentCenter to get it centered on one of the axis (I never
know which one is which), but is there any way that it can be centered
on both axis?
Yours sincerely,
Tim Andersson
_______________________________________________
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