Package io.anyline2.util
Class JSUtil
-
- All Implemented Interfaces:
public class JSUtil
-
-
Constructor Summary
Constructors Constructor Description JSUtil()
-
Method Summary
Modifier and Type Method Description static StringBuilder
setupMask(CutoutConfig cutoutConfig)
static StringBuilder
updateCutout(String id, boolean visible)
static StringBuilder
setupDelayTime(double delayTime, String id)
static StringBuilder
setupConfig(Context context, String id, CutoutConfig cutoutConfig, ScanFeedbackConfig visualFeedbackConfig, Rect rect)
static StringBuilder
setupParallelConfig(Context context, List<String> ids, List<CutoutConfig> cutoutConfigs, List<ScanFeedbackConfig> visualFeedbackConfigs, List<Rect> rects)
static StringBuilder
setupSerialConfig(Context context, List<String> ids, List<CutoutConfig> cutoutConfigs, List<ScanFeedbackConfig> visualFeedbackConfigs, List<Rect> rects)
static StringBuilder
updateFeedbackShape(List<PointF> points, Context context, String id)
static StringBuilder
updateDocumentColorsFeedback(ScanFeedbackConfig visualFeedbackConfig, String id)
-
-
Method Detail
-
setupMask
static StringBuilder setupMask(CutoutConfig cutoutConfig)
-
updateCutout
static StringBuilder updateCutout(String id, boolean visible)
-
setupDelayTime
static StringBuilder setupDelayTime(double delayTime, String id)
-
setupConfig
static StringBuilder setupConfig(Context context, String id, CutoutConfig cutoutConfig, ScanFeedbackConfig visualFeedbackConfig, Rect rect)
-
setupParallelConfig
static StringBuilder setupParallelConfig(Context context, List<String> ids, List<CutoutConfig> cutoutConfigs, List<ScanFeedbackConfig> visualFeedbackConfigs, List<Rect> rects)
-
setupSerialConfig
static StringBuilder setupSerialConfig(Context context, List<String> ids, List<CutoutConfig> cutoutConfigs, List<ScanFeedbackConfig> visualFeedbackConfigs, List<Rect> rects)
-
updateFeedbackShape
static StringBuilder updateFeedbackShape(List<PointF> points, Context context, String id)
-
updateDocumentColorsFeedback
static StringBuilder updateDocumentColorsFeedback(ScanFeedbackConfig visualFeedbackConfig, String id)
-
-
-
-