You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[convertToPageCoordinates](./ui.md#convertToPageCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the whole page. |
110
-
|[convertToClientCoordinates](./ui.md#convertToClientCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the viewport. |
111
-
|[setCameraView](./ui.md#setCameraView)| Sets the `CameraView` instance to be used with the `CameraEnhancer`. |
112
-
|[getCameraView](./ui.md#getCameraView)| Retrieves the current `CameraView` instance associated with the `CameraEnhancer`. |
113
-
|[getVideoEl](./ui.md#getVideoEl)| Retrieves the HTMLVideoElement used by the `CameraEnhancer` for displaying the camera feed. |
|[convertToPageCoordinates](./ui.md#convertToPageCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the whole page. |
110
+
|[convertToClientCoordinates](./ui.md#convertToClientCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the viewport. |
111
+
|[convertToScanRegionCoordinates](./ui.md#convertToScanRegionCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the scan region. |
112
+
|[convertToContainCoordinates](./ui.md#convertToClientCoordinates)| Converts coordinates from the `fit: cover` to `fit: contain` mode. |
113
+
|[setCameraView](./ui.md#setCameraView)| Sets the `CameraView` instance to be used with the `CameraEnhancer`. |
114
+
|[getCameraView](./ui.md#getCameraView)| Retrieves the current `CameraView` instance associated with the `CameraEnhancer`. |
115
+
|[getVideoEl](./ui.md#getVideoEl)| Retrieves the HTMLVideoElement used by the `CameraEnhancer` for displaying the camera feed. |
|[convertToScanRegionCoordinates](#convertToScanRegionCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the scan region. |
18
18
|[convertToPageCoordinates](#convertToPageCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the whole page. |
19
19
|[convertToClientCoordinates](#convertToClientCoordinates)| Converts coordinates from the video's coordinate system to coordinates relative to the viewport. |
20
+
|[convertToContainCoordinates](#convertToClientCoordinates)| Converts coordinates from the `fit: cover` to `fit: contain` mode. |
20
21
|[setCameraView](#setCameraView)| Sets the `CameraView` instance to be used with the `CameraEnhancer`. |
21
22
|[getCameraView](#getCameraView)| Retrieves the current `CameraView` instance associated with the `CameraEnhancer`. |
22
23
|[getVideoEl](#getVideoEl)| Retrieves the HTMLVideoElement used by the `CameraEnhancer` for displaying the camera feed. |
0 commit comments