Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(?scaleFactor, ?width, ?height, ?buffer, ?dataURL)
Parameters:
float
-
The scale factor to add the image representation for.
?width : int
-
Defaults to 0. Required if a bitmap buffer is specified as buffer.
?height : int
-
Defaults to 0. Required if a bitmap buffer is specified as buffer.
?buffer : Buffer
-
The buffer containing the raw image data.
?dataURL : string
-
The data URL containing either a base 64 encoded PNG or JPEG image.
Returns: Options
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.buffer
|
The buffer containing the raw image data. |
Full Usage:
this.dataURL
|
The data URL containing either a base 64 encoded PNG or JPEG image. |
Full Usage:
this.height
|
Defaults to 0. Required if a bitmap buffer is specified as buffer. |
Full Usage:
this.scaleFactor
|
The scale factor to add the image representation for. |
Full Usage:
this.width
|
Defaults to 0. Required if a bitmap buffer is specified as buffer. |
fable-electron-docs-api