Gamalto

Fork me on GitHub

Object BaseCanvas Overview

Gamalto. BaseCanvas

new Gamalto.BaseCanvas(width, height)

Abstract object to create a drawing canvas.

Parameters
Name Type Description
width number

Width of the canvas in pixels.

height number

Height of the canvas in pixels.

Extends

Members

canvas :object

readonly

Internal canvas object.

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

Methods

clone() object

inherited abstract

Clones the object. It will be shallow copy unless otherwise specfied.

Inherited From
Returns
  • New instance of the object. Defaults to null.

createRenderer() Gamalto.BaseRenderer

abstract

Creates a renderer for the current canvas type.

Returns
  • Object instance implementing Gamalto.BaseRenderer.

toString() string

inherited abstract

Converts the object into a string.

Inherited From
Returns
  • string

Documentation generated by JSDoc 3.3.2 on Sun Sep 13 2015 20:13:31 GMT+0200 (CEST)