Skip to content

Commit

Permalink
50.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrichanyline committed Aug 9, 2023
1 parent c6c3d3f commit c478fd2
Show file tree
Hide file tree
Showing 507 changed files with 676 additions and 748 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,11 @@
},
"cutoutConfig": {
"animation": "none",
"maxWidthPercent": "70%",
"maxWidthPercent": "80%",
"width": 720,
"alignment": "top_half",
"ratioFromSize": {
"width": 62,
"height": 9
},
"offset": {
"x": 0,
"y": 0
},
"cropOffset": {
"x": 0,
"y": 0
},
"cropPadding": {
"x": 0,
"y": 0
},
"ratioFromSize": { "width": 5, "height": 1 },
"cropOffset": { "x": 0, "y": -15 },
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"strokeWidth": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,8 @@
"animation": "none",
"maxWidthPercent": "10%",
"alignment": "center",
"ratioFromSize": {
"width": 9,
"height": 62
},
"offset": {
"x": 0,
"y": 0
},
"cropOffset": {
"x": 0,
"y": 0
},
"cropPadding": {
"x": 0,
"y": 0
},
"ratioFromSize": { "width": 15, "height": 100 },
"cropOffset": { "x": 0, "y": -15 },
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"strokeWidth": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"cancelOnResult": true
},
"cutoutConfig" : {
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
Expand All @@ -51,17 +51,13 @@
"outerColor": "000000",
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},
"scanFeedbackConfig" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,25 @@
},
"cancelOnResult": true
},
"cutoutConfig" : {
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},

"scanFeedbackConfig" : {
"animation": "traverse_multi",
"animationDuration": 250,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,25 @@
},
"cancelOnResult": true
},
"cutoutConfig" : {
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},

"scanFeedbackConfig" : {
"animation": "traverse_multi",
"animationDuration": 250,
Expand Down
13 changes: 5 additions & 8 deletions AnylineExamples/Anyline Examples Source/ID/id_front_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,25 @@
},
"cancelOnResult": true
},
"cutoutConfig" : {
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},

"scanFeedbackConfig" : {
"animation": "traverse_multi",
"animationDuration": 250,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,25 @@
},
"cancelOnResult": true
},
"cutoutConfig" : {
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},

"scanFeedbackConfig" : {
"animation": "traverse_multi",
"animationDuration": 250,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,18 @@
"cornerRadius": 6,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"outerAlpha": 0,
"ratioFromSize" : {
"width": 50,
"height": 31
"width": 161,
"height": 100
},
"cropPadding": {
"x": 50,
"y": 50
},
"cropOffset": {
"x": 0,
"y": 0
},
"feedbackStrokeColor": "0099FF"
},

"scanFeedbackConfig" : {
"animation": "traverse_multi",
"animationDuration": 250,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"cutoutConfig": {
"animation": "none",
"maxWidthPercent": "67%",
"maxWidthPercent": "80%",
"width": 550,
"alignment": "top_half",
"ratioFromSize": { "width": 2, "height": 1 },
"offset": { "x": 0, "y": 0 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"cutoutConfig": {
"animation": "none",
"maxWidthPercent": "67%",
"maxWidthPercent": "80%",
"width": 550,
"alignment": "top_half",
"ratioFromSize": { "width": 2, "height": 1 },
"offset": { "x": 0, "y": 0 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"cutoutConfig": {
"animation": "none",
"maxWidthPercent": "67%",
"maxWidthPercent": "80%",
"width": 550,
"alignment": "top_half",
"ratioFromSize": { "width": 2, "height": 1 },
"offset": { "x": 0, "y": 0 },
Expand Down
11 changes: 3 additions & 8 deletions AnylineExamples/Anyline Examples Source/MRZ/mrz_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@
"cutoutConfig": {
"maxWidthPercent": "90%",
"alignment": "center",
"ratioFromSize": {
"width": 25,
"height": 17
},
"cropPadding": {
"x": 30,
"y": 90
},
"ratioFromSize": { "width": 161, "height": 100 },
"cropPadding": { "x": 30, "y": 90 },
"cropOffset": { "x": 0, "y": 90 },
"outerColor": "000000",
"outerAlpha": 0.3,
"strokeWidth": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,16 @@ class ALMeterScanViewController: ALBaseScanViewController {
// increase startScanDelay
pluginConfig.startScanDelay = 1000

// create a new ALCutoutConfig
// create a new ALCutoutConfig (right now there's nothing different
// between a dial config and a analog/digital one, but there used to
// be)
cutoutConfig = .init(alignment: config.cutoutConfig.alignment,
animation: config.cutoutConfig.animation,
ratioFrom: .init(width: 2, height: 1), // modified
offset: .init(x: 0, y: 50), // modified
ratioFrom: config.cutoutConfig.ratioFromSize,
offset: config.cutoutConfig.offset,
width: config.cutoutConfig.width,
maxHeightPercent: config.cutoutConfig.maxHeightPercent,
maxWidthPercent: 85, // modified
maxWidthPercent: config.cutoutConfig.maxWidthPercent,
cornerRadius: config.cutoutConfig.cornerRadius,
strokeWidth: config.cutoutConfig.strokeWidth,
strokeColor: config.cutoutConfig.strokeColor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
"cancelOnResult": true
},
"cutoutConfig": {
"maxWidthPercent": "67%",
"alignment": "top_half",
"ratioFromSize": { "width": 9, "height": 4 },
"maxWidthPercent": "80%",
"alignment": "top",
"ratioFromSize": { "width": 2, "height": 1 },
"offset": { "x": 0, "y": 0 },
"cropOffset": { "x": 0, "y": 120 },
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"startScanDelay": 0
},
"cutoutConfig": {
"maxWidthPercent": "67%",
"alignment": "top_half",
"ratioFromSize": { "width": 9, "height": 4 },
"offset": { "x": 0, "y": 0 },
"maxWidthPercent": "80%",
"alignment": "top",
"ratioFromSize": { "width": 2, "height": 1 },
"cropOffset": { "x": 0, "y": 120 },
"strokeWidth": 2,
"cornerRadius": 6,
"strokeColor": "FFFFFF",
Expand Down
Loading

0 comments on commit c478fd2

Please sign in to comment.