From f1bf9be4d8c19bf31b80fc31300f684661298bd4 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Wed, 5 Oct 2016 17:32:44 -0700 Subject: [PATCH] [Documentation] Add docs for exclusionPaths (#2325) * Add docs for exclusionPaths * Clearer, less-infringy --- AsyncDisplayKit/ASTextNode.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AsyncDisplayKit/ASTextNode.h b/AsyncDisplayKit/ASTextNode.h index fcf7fcaae5..53fc3cd6b1 100644 --- a/AsyncDisplayKit/ASTextNode.h +++ b/AsyncDisplayKit/ASTextNode.h @@ -80,6 +80,14 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) { */ @property (nonatomic, readonly, assign) NSUInteger lineCount; +/** + * An array of path objects representing the regions where text is not displayed. + * + * @discussion The default value of this property is an empty array. You can + * assign an array of UIBezierPath objects to exclude text from one or more regions in + * the text node's bounds. You can use this property to have text wrap around images, + * shapes or other text like a fancy magazine. + */ @property (nullable, nonatomic, strong) NSArray *exclusionPaths; #pragma mark - Placeholders