Class: Button

MJPEGCANVAS. Button

new Button(options)

A button renders a button with text to an internal canvas. The width will scale to fit the text.
Parameters:
Name Type Description
options possible keys include: * text - the text to display on the button * height - the height of the button
Source:

Methods

redraw()

Redraw the button to the internal canvas.
Source: