Paints the cell content area on the canvas.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.Base();
var returnValue; // Type: any
returnValue = instance.paintContent(ctx, value, x, y, w, h, style, context);
function paintContent(
: CanvasRenderingContext2D,
: object,
: number,
: number,
: number,
: number,
: Style,
: object
) : any;
Parameters
- ctx
- The canvas's two-dimensional context.
- value
- The cell's value.
- x
- x-coordinate relative to the canvas.
- y
- y-coordinate relative to the canvas.
- w
- The cell content area's width.
- h
- The cell content area's height.
- style
- The cell's actual style.
- context
- The context associated with the cell type. See the Remarks for more information.
See Also