mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-29 15:30:05 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline:6086305304git-subtree-split:d559434616
23 lines
720 B
Objective-C
23 lines
720 B
Objective-C
#import "TGPhotoPaintSparseView.h"
|
|
|
|
@class TGPhotoPaintEntityView;
|
|
|
|
@interface TGPhotoEntitiesContainerView : TGPhotoPaintSparseView
|
|
|
|
@property (nonatomic, readonly) NSUInteger entitiesCount;
|
|
@property (nonatomic, copy) void (^entitySelected)(TGPhotoPaintEntityView *);
|
|
@property (nonatomic, copy) void (^entityRemoved)(TGPhotoPaintEntityView *);
|
|
|
|
- (TGPhotoPaintEntityView *)viewForUUID:(NSInteger)uuid;
|
|
- (void)removeViewWithUUID:(NSInteger)uuid;
|
|
- (void)removeAll;
|
|
|
|
- (void)handlePinch:(UIPinchGestureRecognizer *)gestureRecognizer;
|
|
- (void)handleRotate:(UIRotationGestureRecognizer *)gestureRecognizer;
|
|
|
|
- (UIImage *)imageInRect:(CGRect)rect background:(UIImage *)background;
|
|
|
|
- (bool)isTrackingAnyEntityView;
|
|
|
|
@end
|