This element displays the content of a camera. The camera can be a built-in camera or some attached webcam. It can also be used to scan barcodes and QR codes.
Using the no-code properties, the developer can configure which element receives the output from the camera element.
This section is used to configure the camera size and position.
|top||The value in pixels representing how far the element is from the top of the window.|
|left||The value in pixels representing how distant element is from the left side of the window.|
|width||The value in pixels representing the distance between the left side of the element and its right side.|
|height||The value in pixels representing the distance between the bottom side of the element and its top side.|
Use the properties in this section to configure the responsive design behaviors for the element.
|lockAspectRatio||Locks the aspect ratio of the element.|
|responsive-x||How the element resizes responding to screen changes in the X axis.|
|responsive-y||How the element resizes responding to screen changes in the Y axis.|
|allowInIOSNotch||Allows the element to be drawn outside the safe area on iOS. Will draw underneath the notch in iOS.|
The properties in this section are used together with those in the appearance section to configure how the element is displayed on the screen. This section deals with the properties related to text used by the camera.
|textStyle||The style used in the element’s text. It can be bold, italic, underlined, and strikethrough.|
This section is used to configure how the camera looks.
|blendLevel||How transparent the element is.|
This section is contains properties that are specific to elements of type camera.
|name||The name of the element. Displayed in the project browser.|
|device||Selects which camera device should be used for the camera element.|
|barcodeScanner||Toggles if the camera should behave like a barcode scanner or not.|
|flashMode||Configures the behavior of the flash for the camera element.|
|focusMode||Configures the focus for the camera element.|