StiTableElementGdiPainter Class

Namespace: Stimulsoft.Dashboard.Drawing.Painters

Methods

Method Returns Description
getBackgroundColor static Color  
measureBubbleCell static Size  
measureCell static Size  
measureCommonCell static Size  
measureDataBarsCell static Size  
measureHeader static Size  
measureHeaders static void  
measureIndicatorCell static Size  
measureSparklinesCell static Size  

Method Details

getBackgroundColor static

getBackgroundColor(element: IStiElement, cells: StiTableCells, style: StiTableElementStyle, isInterlaced: boolean): Color

Parameters

  • element (IStiElement)
  • cells (StiTableCells)
  • style (StiTableElementStyle)
  • isInterlaced (boolean)

Returns Color


measureBubbleCell static

measureBubbleCell(g: Graphics, table: StiTableElement, column: StiTableColumn, rowValue: any, zoom: number): Size

Parameters

  • g (Graphics)
  • table (StiTableElement)
  • column (StiTableColumn)
  • rowValue (any)
  • zoom (number)

Returns Size


measureCell static

measureCell(caption: string, baseFont: Font, column: StiTableColumn): Size

Parameters

  • caption (string)
  • baseFont (Font)
  • column (StiTableColumn)

Returns Size


measureCommonCell static

measureCommonCell(g: Graphics, table: StiTableElement, column: StiTableColumn, rowValue: any, columnWidth: number, zoom: number): Size

Parameters

  • g (Graphics)
  • table (StiTableElement)
  • column (StiTableColumn)
  • rowValue (any)
  • columnWidth (number)
  • zoom (number)

Returns Size


measureDataBarsCell static

measureDataBarsCell(g: Graphics, table: StiTableElement, column: StiTableColumn, rowValue: any, zoom: number): Size

Parameters

  • g (Graphics)
  • table (StiTableElement)
  • column (StiTableColumn)
  • rowValue (any)
  • zoom (number)

Returns Size


measureHeader static

measureHeader(table: StiTableElement, column: StiTableColumn): Size

Parameters

  • table (StiTableElement)
  • column (StiTableColumn)

Returns Size


measureHeaders static

measureHeaders(columns: StiTableColumn[], baseFont: Font): void

Parameters

  • columns (StiTableColumn[])
  • baseFont (Font)

measureIndicatorCell static

measureIndicatorCell(g: Graphics, table: StiTableElement, column: StiTableColumn, rowValue: any, zoom: number): Size

Parameters

  • g (Graphics)
  • table (StiTableElement)
  • column (StiTableColumn)
  • rowValue (any)
  • zoom (number)

Returns Size


measureSparklinesCell static

measureSparklinesCell(table: StiTableElement, columnWidth: number, zoom: number): Size

Parameters

  • table (StiTableElement)
  • columnWidth (number)
  • zoom (number)

Returns Size

Fields

Field Type Description
cellSize any  
cellSize any  
cellSize any  
cellSize any  
size any