Class: Button

Button

new Button()

Extends

Methods

paint()

The default cell rendering function for a button cell.

Overrides:
Implements:

roundRect(gc, x, y, width, height, radius, fill, stroke)

A simple implementation of rounding a cell.

Parameters:
Name Type Description
gc CanvasRenderingContext2D
x number

the x grid coordinate of my origin

y number

the y grid coordinate of my origin

width number

the width I'm allowed to draw within

height number

the height I'm allowed to draw within

radius number
fill number
stroke number
Inherited From: