Kofax Mobile SDK 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
Bounding Tetragon class holds four point data.
Definition: kfxKEDBoundingTetragon.h:38
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:157
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.