Image#

class Drawing.Image()#

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

Note

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

Image.getWidth()#

The width of the image, in pixels.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Image.getHeight()#

The height of the image, in pixels.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Image.remove()#

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

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph