Difference between revisions of "Camera"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Barrymavin (Talk | contribs) (→Methods) |
||
Line 24: | Line 24: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |valign="top"|getPhoto | ||
+ | |valign="top"|filename as character | ||
+ | |valign="top"|get a photo | ||
+ | |- | ||
+ | |valign="top"|start | ||
+ | |valign="top"|None | ||
+ | |valign="top"|Start the camera. | ||
|- | |- | ||
|valign="top"|stop | |valign="top"|stop | ||
Line 31: | Line 39: | ||
|valign="top"|takePhoto | |valign="top"|takePhoto | ||
|valign="top"|None | |valign="top"|None | ||
− | |valign="top"|Take a photo. | + | |valign="top"|Take a photo. Stores it in photo.png in the current directory. |
|- | |- | ||
|} | |} |
Revision as of 21:23, 7 March 2024
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 | Access (R/RW) | Value | Description |
---|
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
getPhoto | filename as character | get a photo |
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 |
---|