mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 20:20:51 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
17 lines
653 B
Objective-C
17 lines
653 B
Objective-C
#import <LegacyComponents/TGPhotoPaintEntity.h>
|
|
#import "TGPaintSwatch.h"
|
|
#import "TGPhotoPaintFont.h"
|
|
|
|
@interface TGPhotoPaintTextEntity : TGPhotoPaintEntity
|
|
|
|
@property (nonatomic, strong) NSString *text;
|
|
@property (nonatomic, strong) TGPhotoPaintFont *font;
|
|
@property (nonatomic, strong) TGPaintSwatch *swatch;
|
|
@property (nonatomic, assign) CGFloat baseFontSize;
|
|
@property (nonatomic, assign) CGFloat maxWidth;
|
|
@property (nonatomic, assign) bool stroke;
|
|
|
|
- (instancetype)initWithText:(NSString *)text font:(TGPhotoPaintFont *)font swatch:(TGPaintSwatch *)swatch baseFontSize:(CGFloat)baseFontSize maxWidth:(CGFloat)maxWidth stroke:(bool)stroke;
|
|
|
|
@end
|