Image#

Image

An image that markers can be drawn with. Created using POST /drawing/add-image.

Note

An image is kept across scene changes, until it is removed or the client that created it disconnects.

A Image object is returned as {"id": ..., "class": ...}, its identifier and the name of its own class. An argument is that object or the identifier alone. A path that acts on an object takes the identifier as (id).

GET /drawing/image/(id)/width#

The width of the image, in pixels.

Parameters:
  • id – The identifier of the Image object.

Response JSON Object:
  • value (int32)

GET /drawing/image/(id)/height#

The height of the image, in pixels.

Parameters:
  • id – The identifier of the Image object.

Response JSON Object:
  • value (int32)

POST /drawing/image/(id)/remove#

Remove the image. A marker drawn with it goes back to its own icon.

Parameters:
  • id – The identifier of the Image object.