Class: StretchCell

StretchCell()

StretchCell Class.

Constructor

new StretchCell()

Source:

Methods

draw(input, input)

Function to draw a stretch cell.
Parameters:
Name Type Description
input number width of the cell.
input number height of the cell.
Source:

minHeight(input, input) → {number}

Get the min height cell.
Parameters:
Name Type Description
input number width of the cell.
input number height of the cell.
Source:
Returns:
maximum between the given height and the height of the inner cell
Type
number

minWidth(input, input) → {number}

Get the min width of a cell.
Parameters:
Name Type Description
input number width of the cell.
input number height of the cell.
Source:
Returns:
maximum between the given width and the width of the inner cell
Type
number