From 6aebaea3bc23776833eda29badd41e1d171668b6 Mon Sep 17 00:00:00 2001 From: Christos Gkekas Date: Tue, 2 Jun 2020 15:23:46 +0100 Subject: [PATCH] Fix documentation for ASCornerRoundingTypeClipping --- Source/ASDisplayNode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ASDisplayNode.h b/Source/ASDisplayNode.h index 84ca49c59..7f506a03b 100644 --- a/Source/ASDisplayNode.h +++ b/Source/ASDisplayNode.h @@ -649,8 +649,8 @@ AS_EXTERN NSInteger const ASDefaultDrawingPriority; * thus works best for ASImageNodes or containers showing a background around their children. * * - ASCornerRoundingTypeClipping: overlays 4 separate opaque corners on top of the content that needs - * corner rounding. Requires .backgroundColor and .cornerRadius to be set. Use clip corners in situations - * in which is movement through the corner, with an opaque background (no movement underneath the corner). + * corner rounding. Requires .backgroundColor and .cornerRadius to be set. Use clip corners in situations + * where there is movement through the corner, with an opaque background (no movement underneath the corner). * Clipped corners are ideal for animating / resizing views, and still outperform CALayer. * * For more information and examples, see http://texturegroup.org/docs/corner-rounding.html