Constructor
new ImageSource(image)
Constructs an image source.
Parameters:
Name | Type | Description |
---|---|---|
image |
Image | The image for this image source. |
- Source:
Throws:
-
If the specified image is null or undefined.
- Type
- ArgumentError
Members
(readonly) image :Image
This image source's image
Type:
- Image
- Source:
key :String
This image source's key. A unique key is automatically generated and assigned during construction.
Applications may assign a different key after construction.
Type:
- String
- Default Value:
- A unique string for this image source.
- Source: