// // TextDrawable.h // pdftest // // Created by Ray on 10/12/16. // Copyright © 2016 United Software Applications, Inc. All rights reserved. // #import "BasicDrawable.h" @interface TextDrawable : BasicDrawable @property (nonatomic,strong) NSString* text; @property NSRange textRange; @property double lineSpace; @property double characterSpace; @property double paragraphSpace; @property (nonatomic,strong) UIColor * textColor; @property NSTextAlignment textalignment; -(instancetype) init:(CGRect) rect source_type:(NSString*) source_type source:(NSString*)source textAlignment:(NSString*)textAlignment vAlign:(NSString*)vAlign size:(NSString*)size; +(NSMutableDictionary *) createTextTemplate:(CGRect) rect source_type:(NSString*) source_type source:(NSString*)source textAlignment:(NSString*)textAlignment vAlign:(NSString*)vAlign size:(NSString*)size; @end