Skip to content

Class Image

Il Kadyrov edited this page Oct 28, 2020 · 2 revisions

Image class is used for working with the image.

Referenced from: ResourceListener.

Public methods

Function getData

public byte[] getData()

Function returns the image data as byte array.

Return value

Byte array of data.

Function getWidth

public int getWidth()

Function returns the width of image.

Return value

Width of the image in pixels.

Function getHeight

public int getHeight()

Function returns the height of image.

Return value

Height of the image in pixels.

Clone this wiki locally