PictureCollection
Contents
[
Hide
]PictureCollection class
Encapsulates a collection of Picture objects.
Properties
| Name | Type | Description |
|---|---|---|
| Count | Number | |
| Item (int) | Picture | Gets the Picture element at the specified index. |
Methods
| Name | Description |
|---|---|
| camera | |
| add | Adds a picture to the collection. |
| clear | Clear all pictures. |
| removeAt | Remove shapes at the specific index |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
PictureCollection.Count property
Type: Number
PictureCollection.Item (int) property
Gets the Picture element at the specified index.
Type: Picture
camera(row, column, range)
add(topRow, leftColumn, bottomRow, rightColumn, fileName) (1 of 3)
Adds a picture to the collection.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| lowerRightRow | Lower right row index | |
| lowerRightColumn | Lower right column index | |
| fileName | String | Image filename. |
Returns: Picture object index.
add(topRow, leftColumn, fileName) (2 of 3)
Adds a picture to the collection.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| fileName | String | Image filename. |
Returns: Picture object index.
add(topRow, leftColumn, fileName, widthScale, heightScale) (3 of 3)
Adds a picture to the collection.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| fileName | String | Image filename. |
| widthScale | Number | Scale of image width, a percentage. |
| heightScale | Number | Scale of image height, a percentage. |
Returns: Picture object index.
clear()
Clear all pictures.
removeAt(index)
Remove shapes at the specific index
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.