canvas Object

The canvas object provides the bridge functions to the Accelerated Canvas App Game Interface plugin

Description:

The Accelerated Canvas App Game Interface plugin is designed for use with intel.xdk applications. In order to use Accelerated Canvas App Game Interface, your hybrid application must be split into two components which will run in two execution contexts. Each context will have its own view. The intel.xdk component runs in the top view and should provide the user interface that the user interacts with. The Accelerated Canvas App Game Interface component runs in its own view that is beneath the intel.xdk view and renders the graphics used for the application. It does not directly receive touch events and so should not include user interaction elements.

IMPORTANT: The Intel XDK legacy build options that support the APIs described in this document, have been deprecated and will be retired. Some of the APIs described in this document have been converted into Cordova-compatible plugins and are available in open-source repositories hosted on the 01.org site. Those open-source repos can be included as third-party plugins in your Cordova app and contain all the pertinent documentation regarding the APIs that have been ported to Cordova (see Adding Plugins to Your Intel® XDK Cordova* App for information on including third-party plugins as part of your app.) Note that not all of the APIs described in this document have been converted to Cordova-compatible plugins, see the individual 01.org repos for API details.

Methods:

Properties:

Per informazioni più dettagliate sulle ottimizzazioni basate su compilatore, vedere il nostro Avviso sull'ottimizzazione.