rtconst virtual class vaseWindow::NImage

sys::Obj
  vaseGraphics::Image
    vaseWindow::NImage

Image represents a graphical image.

createGraphics

protected virtual override Graphics createGraphics()

dispose

virtual override Void dispose()

Free any operating system resources used by this instance.

getPixel

virtual override Int getPixel(Int x, Int y)

Returns the pixel value at x,y

height

virtual override Int height { private set }

isReady

virtual override Bool isReady()

is loaded in javascript

makeData

new makeData(Int data, Int w, Int h)

privateMake

new privateMake()

save

virtual override Void save(OutStream out, Str format := "png")

Save image to outStream.

setPixel

virtual override Void setPixel(Int x, Int y, Int p)

Set the pixel value at x,y

width

virtual override Int width { private set }