Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Table

Hierarchy

  • Table

Index

Constructors

constructor

Properties

Private _instance

_instance: any

Private _page

_page: IPage | null = null

Accessors

alignment

autoPageBreak

  • get autoPageBreak(): boolean
  • set autoPageBreak(v: boolean): void
  • true if a new page is created automatically if more space is required to draw the table.

    Returns boolean

  • Automatically create a new page and continue drawing the table on the new page, if there is not enough space on the current page. The newly created page will be set as the current page on the painter used to draw and will be created using the same size as the old page.

    Parameters

    • v: boolean

    Returns void

borderWidth

  • get borderWidth(): number
  • set borderWidth(v: number): void

font

  • set font(v: IFont): void
  • Sets the font for all contents of the table

    Parameters

    Returns void

foregroundColor

page

  • get page(): IPage | null
  • set page(value: IPage | null): void

tableHeight

  • get tableHeight(): number
  • set tableHeight(v: number): void

tableWidth

  • get tableWidth(): number
  • set tableWidth(v: number): void

wordWrap

  • set wordWrap(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

Methods

columnCount

  • columnCount(): number

columnWidth

  • columnWidth(v: number): void

columnWidths

  • columnWidths(v: Array<number>): void
  • Parameters

    • v: Array<number>

    Returns void

draw

enableBackground

  • enableBackground(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

enableBorder

  • enableBorder(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

hasBorders

  • hasBorders(): boolean

rowCount

  • rowCount(): number

rowHeight

  • rowHeight(v: number): void

rowHeights

  • rowHeights(v: Array<number>): void
  • Parameters

    • v: Array<number>

    Returns void

Object literals

Private _position

_position: object

x

x: number = 0

y

y: number = 0

Generated using TypeDoc