Thanks for downloading Dynamsoft Label Recognizer Package!
Your download will start shortly. If your download does not begin, click here to retry.
DrawingStyle
The class of DrawingStyle
. It stores the detailed styles of the drawing item.
@interface DrawingStyle
Method | Description |
---|---|
initWithId |
The constructor of the initWithId . |
id |
The id of the DrawingStyle . |
strokeColor |
The stroke color of the DrawingStyle . |
fillColor |
The fill color of the DrawingStyle . |
textColor |
The text color of the DrawingStyle . |
strokeWidth |
The stroke width of the DrawingStyle . |
fontSize |
The font size of the DrawingStyle . |
fontFamily |
The font-Family of the DrawingStyle . |
initWithId
The constructor of the DrawingStyle
.
- (instancetype)initWithId:(NSInteger)id
strokeColor:(UIColor*)strokeColor
strokeWidth:(CGFloat)strokeWidth
fillColor:(UIColor*)fillColor
textColor:(UIColor*)textColor
font:(UIFont*) font;
Remarks
Please use DrawingStyleManager.createDrawingStyle
to create the drawing style.
id
The id of the DrawingStyle
.
@property (assign, nonatomic, readonly) NSInteger id;
strokeColor
The stroke color of the DrawingStyle
.
@property (assign, nonatomic) UIColor strokeColor;
fillColor
The fill color of the DrawingStyle
.
@property (assign, nonatomic) UIColor fillColor;
textColor
The text color of the DrawingStyle
.
@property (assign, nonatomic) UIColor textColor;
strokeWidth
The stroke width of the DrawingStyle
.
@property (assign, nonatomic) CGFloat strokeWidth;
fontSize
The font size of the DrawingStyle
.
@property (assign, nonatomic) NSInteger fontSize;
fontFamily
The font-Family of the DrawingStyle
.
@property (assign, nonatomic) NSString* fontFamily;