简体   繁体   中英

What difference between paragraphSpacing and paragraphSpacingBefore? (in NSMutableParagraphStyle)

https://developer.apple.com/library/ios/documentation/Cocoa/Reference/ApplicationKit/Classes/NSMutableParagraphStyle_Class/#//apple_ref/occ/instp/NSMutableParagraphStyle/paragraphSpacing

I read already this post.

But I can't understanding exactly.

What the difference between paragraphSpacing and paragraphSpacingBefore? (in NSMutableParagraphStyle)

Img Please.

I can't understanding for english...

url : here click img

Where is paragraphSpacingBefore ?

paragraphSpacing https://developer.apple.com/library/ios/documentation/Cocoa/Reference/ApplicationKit/Classes/NSMutableParagraphStyle_Class/#//apple_ref/occ/instp/NSMutableParagraphStyle/paragraphSpacing

"This property contains the space (measured in points) added at the end of the paragraph to separate it from the following paragraph."


paragraphSpacingBefore https://developer.apple.com/library/ios/documentation/Cocoa/Reference/ApplicationKit/Classes/NSMutableParagraphStyle_Class/#//apple_ref/occ/instp/NSMutableParagraphStyle/paragraphSpacingBefore

This property contains the space (measured in points) between the paragraph's top and the beginning of its text content.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM