Swiftgram/submodules/LegacyComponents/Sources/TGPhotoEntitiesContainerView.h
Ilya Laktyushin 7741978b7e Video Editing
2020-05-23 13:26:53 +03:00

23 lines
738 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 still:(bool)still;
- (bool)isTrackingAnyEntityView;
@end