mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			27 lines
		
	
	
		
			825 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			825 B
		
	
	
	
		
			C
		
	
| 
											9 years ago
										 | //
 | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | ||
|  | //
 | ||
|  | 
 | ||
| 
											9 years ago
										 | typedef void (^ConfigureShapeLayerBlock)(CAShapeLayer *_Nonnull layer, CGRect bounds); | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
| 
											9 years ago
										 | @interface OWSBezierPathView : UIView | ||
|  | 
 | ||
|  | // Configure the view with this method if it uses a single Bezier path.
 | ||
| 
											8 years ago
										 | @property (nonatomic) ConfigureShapeLayerBlock configureShapeLayerBlock; | ||
| 
											9 years ago
										 | 
 | ||
|  | // Configure the view with this method if it uses multiple Bezier paths.
 | ||
|  | //
 | ||
|  | // Paths will be rendered in back-to-front order.
 | ||
| 
											8 years ago
										 | @property (nonatomic) NSArray<ConfigureShapeLayerBlock> *configureShapeLayerBlocks; | ||
| 
											9 years ago
										 | 
 | ||
|  | // This method forces the view to reconstruct its layer content.  It shouldn't
 | ||
|  | // be necessary to call this unless the ConfigureShapeLayerBlocks depend on external
 | ||
|  | // state which has changed.
 | ||
|  | - (void)updateLayers; | ||
|  | 
 | ||
|  | @end | ||
| 
											9 years ago
										 | 
 | ||
|  | NS_ASSUME_NONNULL_END |