TPavePainter

TPavePainter

(private) new TPavePainter(dom, pave)

painter for TPave-derived classes

Source:
Parameters:
Name Type Description
dom object | string

DOM element for drawing or element id

pave object

TPave-based object

Methods

addText()

Add text to pave

Source:

(async) autoPlaceLegend() → {Promise}

Autoplace legend on the frame

Source:
Returns:

with boolean flag if position was changed

Type
Promise

cleanup()

cleanup pave painter

Source:

clearPave()

Clear text in the pave

Source:

drawLegend()

Draw TLegend object

Source:

drawPaletteAxis()

draw color palette with axis

Source:

(async) drawPave() → {Promise}

Draw pave and content

Source:
Returns:
Type
Promise

(async) drawPaveLabel()

draw TPaveLabel object

Source:

drawPaveStats()

draw TPaveStats object

Source:

drawPaveText()

draw TPaveText object

Source:

fillContextMenuItems()

Fill context menu items for the TPave object

Source:

fillFunctionStat()

Fill function parameters

Source:

fillWebObjectOptions()

Fill option object used in TWebCanvas

Source:

format()

Method used to convert value to string according specified format

Description:
  • format can be like 5.4g or 4.2e or 6.4f or 'stat' or 'fit' or 'entries'

Source:

interactivePaletteAxis()

Add interactive methods for palette drawing

Source:

isDummyPos()

Is dummy pos of the pave painter

Source:

isStats()

Returns true when stat box is drawn

Source:

isTitle()

Returns true when title is drawn

Source:

paveContextMenu()

Show pave context menu

Source:

(async) redraw()

redraw pave object

Source:

updateObject()

Update TPave object

Source:

(static) canDraw()

Returns true if object is supported

Source:

(async, static) draw()

Draw TPave

Source: