2020-02-22 15:38:54 +04:00

23 lines
642 B
Objective-C

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface TGPaintBrush : NSObject
{
CGImageRef _previewStampRef;
}
@property (nonatomic, readonly) CGFloat spacing;
@property (nonatomic, readonly) CGFloat alpha;
@property (nonatomic, readonly) CGFloat angle;
@property (nonatomic, readonly) CGFloat scale;
@property (nonatomic, readonly) bool lightSaber;
@property (nonatomic, readonly) CGImageRef stampRef;
@property (nonatomic, readonly) CGImageRef previewStampRef;
@property (nonatomic, strong) UIImage *previewImage;
@end
extern const CGSize TGPaintBrushTextureSize;
extern const CGSize TGPaintBrushPreviewTextureSize;