Image

Native image.

Modulerequire("gui")
TypeClass

Class methods

createFromPath(path)

Create an image by reading from path.

Parameters

Return

Image

createFromBuffer(buffer, scaleFactor)

Create an image from buffer in memory, with scale_factor.

Parameters

Return

Image

Methods

getSize()

Return image's size in DIP.

Return

SizeF

getScaleFactor()

Return image's scale factor.

Return

Number