Camera
From Lianjapedia
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Control to use the webcam on your machine to capture and store images.
Properties
This class supports the Common Properties plus the following:
| Property | Value | Access (R/RW) | Description |
|---|---|---|---|
| camera | Character | (RW) | Return/set the currently selected camera. |
| list | Character | (R) | Return a comma separated list of available cameras. |
Methods
This class supports the Common Methods plus the following:
| Method | Args | Description |
|---|---|---|
| getPhoto | filename as character | Get a photo from a file. |
| start | None | Start the camera. |
| stop | None | Stop the camera. |
| takePhoto | None | Take a photo. Stores it in photo.png in the current directory. |
Events
This class supports the Common Events plus the following:
| Event | Args | Description |
|---|