CTParagraphStyleSpecifier
These constants are used to query and modify the CTParagraphStyle object.
enum{
kCTParagraphStyleSpecifierAlignment = 0, //对齐属性
kCTParagraphStyleSpecifierFirstLineHeadIndent = 1, //首行缩进
kCTParagraphStyleSpecifierHeadIndent = 2, //段头缩进
kCTParagraphStyleSpecifierTailIndent = 3, //段尾缩进
kCTParagraphStyleSpecifierTabStops = 4, //制表符模式
kCTParagraphStyleSpecifierDefaultTabInterval = 5, //默认tab间隔
kCTParagraphStyleSpecifierLineBreakMode = 6, //换行模式
kCTParagraphStyleSpecifierLineHeightMultiple = 7, //多行高
kCTParagraphStyleSpecifierMaximumLineHeight = 8, //最大行高
kCTParagraphStyleSpecifierMinimumLineHeight = 9, //最小行高
kCTParagraphStyleSpecifierLineSpacing = 10, /* deprecated *///行距
kCTParagraphStyleSpecifierParagraphSpacing = 11, //段落间距,在段的末尾加上间隔,值为负数
kCTParagraphStyleSpecifierParagraphSpacingBefore = 12, //段落前间距,在段落前面加上间隔
kCTParagraphStyleSpecifierBaseWritingDirection = 13, //基本书写方向
kCTParagraphStyleSpecifierMaximumLineSpacing = 14, //最大行距
kCTParagraphStyleSpecifierMinimumLineSpacing = 15, //最小行距
kCTParagraphStyleSpecifierLineSpacingAdjustment = 16, //行距调整
kCTParagraphStyleSpecifierCount = 17 //
};
typedef uint32_t CTParagraphStyleSpecifier;