开发者

Objective C - Get alignment of a CTParagraphStyleRef?

I have a CTParagraphStyleRef how can I determine the alig开发者_JAVA百科nment of this paragraph style?


Use the CTTextAlignment its an enum defined as:

kCTLeftTextAlignment = 0,
kCTRightTextAlignment = 1,
kCTCenterTextAlignment = 2,
kCTJustifiedTextAlignment = 3,
kCTNaturalTextAlignment = 4

Here is the Apple Source

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜