Open teicher opened 3 years ago
Would you envision this to work like Android applications and margin be applied outside the specified bounds for drawing and then padding be internal?
Any way would be fine as long as the behaviour is deterministic and documented ;-)
If the margin increases the overall image size, it could also be called setAdditionalMargin(...)
Wanna put a PR together for this?
when the barcode is embedded on some background, the scanner gun will need some "peace space" (white border) in order to recognize the barcode regardless of the background. this should be an option to have. could look like
or even