Atalasoft MobileImage API Reference
kfxKUIImageReviewAndEdit.h
Go to the documentation of this file.
1 //
2 // API Reference
3 // kfxKUIImageReviewAndEditNew.h
4 // Framework: kfxLibUIControls
5 //
6 // Copyright (c) 2012 - 2017 Kofax. Use of this code is with permission pursuant to Kofax license terms.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "kfxKUICommon.h"
11 
12 @class kfxKEDImage;
14 
16 
20 @interface kfxKUIImageReviewAndEdit : UIControl
21 <UIGestureRecognizerDelegate>
22 {
23 
24 
25 }
26 
27 +(void) initializeControl;
28 
29 // ==========================================================
30 // P R O P E R T I E S
31 // ==========================================================
32 
33 
34 // ==========================================================
36 
38 @property (nonatomic,strong) kfxKEDBoundingTetragon* cropTetragon;
39 
40 
41 // ==========================================================
43 @property (nonatomic, strong) UIColor * cropLineColor;
44 
45 // ==========================================================
47 @property (nonatomic, strong) UIColor * cropCornerColor;
48 
49 // ==========================================================
51 @property (nonatomic, assign) kfxUILineStyle cropLineStyle;
52 
53 
54 // ==========================================================
56 @property (nonatomic,strong) UIColor *highlightColor;
57 
58 
59 // ==========================================================
60 // M E T H O D S
61 // ==========================================================
62 
63 
64 
66 
97 - (int)setImage: (kfxKEDImage*) imageObjectToReview;
98 
99 // ==========================================================
101 
102 -(void) clearImage;
103 
104 
106 
113 -(void) showCropRectangle:(BOOL) shouldShow;
114 
115 
117 
123 -(void)showHighlights:(NSArray*)rectArray;
124 
126 
130 -(void)clearHighlights;
131 
132 @end
133 
Displays an image for review, and an optional crop rectangle/tetragon for a user to manually adjust t...
Definition: kfxKUIImageReviewAndEdit.h:20
UIColor * highlightColor
Color of highlighted areas specified in showHighlights method. If nil is set or highlightColor is not...
Definition: kfxKUIImageReviewAndEdit.h:56
< UIGestureRecognizerDelegate > kfxKEDBoundingTetragon * cropTetragon
The crop tetragon specified during edit operations.
Definition: kfxKUIImageReviewAndEdit.h:22
Bounding Tetragon class holds four point data.
Definition: kfxKEDBoundingTetragon.h:38
UIColor * cropCornerColor
Color of corner handles (circles) in cropping rectangle/tetragon.
Definition: kfxKUIImageReviewAndEdit.h:47
void clearHighlights()
Clears all the areas highlighted by the method showHighlights.
void clearImage()
Clears the image object out of review control.
UIColor * cropLineColor
Color of lines in cropping rectangle/tetragon.
Definition: kfxKUIImageReviewAndEdit.h:43
kfxUILineStyle cropLineStyle
Whether crop rectangle lines should be solid or dashed.
Definition: kfxKUIImageReviewAndEdit.h:51
enum LINE_STYLE_ENUM kfxUILineStyle
Style of outline for cropping rectangle/tetragon (solid or dotted lines).
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:158
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.