Image

SignatureTabletWidgets. Image

Image to be displayed on a tablet

Constructor

new Image(url, xopt, yopt, delayopt)

Description:
  • Instantiate an Image object

Source:
See:
Example
const new Image("/img/logo.tif", 20, 200)
Parameters:
Name Type Attributes Default Description
url string

URL of the image.

x number <optional>
0

X position to draw the button

y number <optional>
0

Y position to draw the button

delay number <optional>
0

Milliseconds to sleep after displaying the image

Extends

  • DisplayWidget

Methods

(async) data()

Description:
  • Fetch the image data and base64 encode it

Source: