Image#

class Drawing.Image#

An image that markers can be drawn with. Created using Drawing.add_image().

Note

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

width: number#

The width of the image, in pixels.

Attribute:

Read-only, cannot be set

Return type:

number

height: number#

The height of the image, in pixels.

Attribute:

Read-only, cannot be set

Return type:

number

remove()#

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