Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResultTable <BackgroundType >

Public interface for ResultTable. Part of Cursor that displays information about current data-point.

Index

Properties

getOrigin

getOrigin: function

Get origin position of v

returns

(-1 to 1 which specifies position of origin, 0 is center of the object)

getTextFillStyle

getTextFillStyle: function

Get text fillStyle of ResultTable

returns

FillStyle object

setContent

setContent: function

Set displayed data of ResultTable

param

TableContent

returns

Object itself for fluent interface

setOrigin

setOrigin: function

Set origin position of ResultTable

param

(-1 to 1 which specifies position of origin, 0 is center of the object)

returns

Object itself for fluent interface

    • Parameters

      Returns this

setTextFillStyle

setTextFillStyle: function

Set text fillStyle of ResultTable text

param

FillStyle object or mutator to modify existing one

returns

Object itself

Methods

getBackground

  • getBackground(): BackgroundType
  • Get background object of ResultTable

    Returns BackgroundType

    Background object

getFont

  • Get font of ResultTable.

    Returns FontSettings

    FontSettings

getMargin

  • Get margin around object in pixels.

    Returns Margin

    Margin datastructure

setBackground

  • setBackground(mutator: Mutator<BackgroundType>): this
  • Mutator function for Background of ResultTable.

    Parameters

    • mutator: Mutator<BackgroundType>

      Mutator function

    Returns this

    Object itself for fluent interface

setFont

setMargin

  • setMargin(margin: Partial<MMargin> | number): this
  • Set margin around object in pixels.

    Parameters

    • margin: Partial<MMargin> | number

      Number with pixel margins for all sides or datastructure with individual pixel margins for each side. Any side can be omitted, only passed values will be overridden.

    Returns this

    Object itself