new Img()
- Source:
Methods
(static) Img#getData() → {String}
Get the field value
The base64 encoded data of the image if available
- Source:
Returns:
- Type
- String
(static) Img#getHeight() → {Number}
Get the field value
The height of the image if available
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Img#getSrc() → {String}
Get the field value
The url to the image if available
- Source:
Returns:
- Type
- String
(static) Img#getWidth() → {Number}
Get the field value
The width of the image if available
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Img#setData(data)
Set the field value
The base64 encoded data of the image if available
Parameters:
Name | Type | Description |
---|---|---|
data |
String |
- Source:
(static) Img#setHeight(height)
Set the field value
The height of the image if available
Parameters:
Name | Type | Description |
---|---|---|
height |
Number | must be a long integer |
- Source:
(static) Img#setSrc(src)
Set the field value
The url to the image if available
Parameters:
Name | Type | Description |
---|---|---|
src |
String |
- Source:
(static) Img#setWidth(width)
Set the field value
The width of the image if available
Parameters:
Name | Type | Description |
---|---|---|
width |
Number | must be a long integer |
- Source: