开发者

Objective C - Get alignment of a CTParagraphStyleRef?

开发者 https://www.devze.com 2023-03-23 00:54 出处:网络
I have a CTParagraphStyleRef how can I determine the alig开发者_JAVA百科nment of this paragraph style?Use the CTTextAlignment its an enum defined as:

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

精彩评论

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