AddRepresentationOptions

external interface AddRepresentationOptions(source)

Properties

Link copied to clipboard
abstract var buffer: Buffer?

The buffer containing the raw image data.

Link copied to clipboard
abstract var dataURL: String?

The data URL containing either a base 64 encoded PNG or JPEG image.

Link copied to clipboard
abstract var height: Double?

Defaults to 0. Required if a bitmap buffer is specified as buffer.

Link copied to clipboard
abstract var scaleFactor: Double?

The scale factor to add the image representation for.

Link copied to clipboard
abstract var width: Double?

Defaults to 0. Required if a bitmap buffer is specified as buffer.