Optional
backgroundThe background color for the cells.
The default is ''
.
Optional
elideThe ellipsis direction for the cell text.
The default is 'none'
.
Optional
fontThe font for drawing the cell text.
The default is '12px sans-serif'
.
Optional
formatThe format function for the renderer.
The default is TextRenderer.formatGeneric()
.
Optional
horizontalThe horizontal alignment for the cell text.
The default is 'left'
.
Optional
horizontalThe horizontal padding for the cell text in pixels.
The default is 8
.
Optional
textThe color for the drawing the cell text.
The default '#000000'
.
Optional
verticalThe vertical alignment for the cell text.
The default is 'center'
.
Optional
wrapWhether or not to apply text wrapping.
The default is 'false'
.
An options object for initializing a text renderer.