TASImagePainter

TASImagePainter

(private) new TASImagePainter()

Painter for TASImage object.

Source:

Methods

canZoomInside()

Checks if it makes sense to zoom inside specified axis range

Source:

clickButton()

Process click on TASImage-defined buttons

Description:
  • may return promise or simply false

Source:

createRGBA()

Create RGBA buffers

Source:

decodeOptions()

Decode options string

Source:

(async, private) drawColorPalette()

Draw color palette

Source:

(async) drawImage()

Draw image

Source:

fillContextMenuItems()

Fill TASImage context

Source:

fillToolbar()

Fill pad toolbar for TASImage

Source:

(async, private) makeUrlFromImageBuf()

Create url using image buffer

Source:

(async) makeUrlFromPngBuf()

Produce data url from png buffer

Source:

redraw()

Redraw image

Source:

(private) toggleColz()

Toggle colz draw option

Source:

(async, static) draw()

Draw TASImage object

Source: