Home > vm-providers > CalibrationQRCodesConfig
Configuration used when generating or scanning a calibration image.
Signature:
export interface CalibrationQRCodesConfig
Property | Type | Description |
---|---|---|
contentPrefix? | string | (Optional) Prefix of the text to encode in the QR codes, before the position. Defaults to viewport:// . Changing its value can be useful to distinguish multiple calibration images that are displayed in the same full image. |
innerMargin? | number | (Optional) Margin in pixels between two QR codes, both horizontally and vertically. Defaults to 50 times the scale. |
outerMargin? | number | (Optional) Horizontal (and vertical) margin in pixels between the left (or the top) of the image and the left (or the top) of the first QR code. Defaults to 10. |
scale? | number | (Optional) Scale of the QR codes, must be an integer. Defaults to 1. |