open class NSMutableParagraphStyle : NSParagraphStyle {
open var lineSpacing: CGFloat /// 文字行间距
open var paragraphSpacing: CGFloat /// 文字段间距
open var alignment: NSTextAlignment /// 文字对齐方式
open var firstLineHeadIndent: CGFloat /// 文字首行缩进
open var headIndent: CGFloat /// 头缩进
open var tailIndent: CGFloat /// 尾缩进
open var lineBreakMode: NSLineBreakMode /// 超出部分显示模式
open var minimumLineHeight: CGFloat /// 最小行高
open var maximumLineHeight: CGFloat /// 最大行高
open var baseWritingDirection: NSWritingDirection
open var lineHeightMultiple: CGFloat /// 可变行高
open var paragraphSpacingBefore: CGFloat /// 段前间距
open var hyphenationFactor: Float /// 连字符
@available(iOS 7.0, *)
open var tabStops: [NSTextTab]!
@available(iOS 7.0, *)
open var defaultTabInterval: CGFloat
@available(iOS 9.0, *)
open var allowsDefaultTighteningForTruncation: Bool
@available(iOS 9.0, *)
open func addTabStop(_ anObject: NSTextTab)
@available(iOS 9.0, *)
open func removeTabStop(_ anObject: NSTextTab)
@available(iOS 9.0, *)
open func setParagraphStyle(_ obj: NSParagraphStyle)
}
网友评论