Class type Ext_draw_Surface.statics


class type statics = object .. end
Inherits
method create_surface : 'a 'b.
'a Js.t -> Js.js_string Js.t Js.js_array Js.t Js.optdef -> 'b Js.t Js.meth

Creates and returns a new concrete Surface instance appropriate for the current environment.

Parameters:

Returns:


method save : 'c 'd 'e. 'c Js.t -> 'd Js.t Js.optdef -> 'e Js.t Js.meth

Exports a surface in a different format. The surface may be exported to an SVG string, using the Ext.draw.engine.SvgExporter. It may also be exported as an image using the ImageExporter. Note that this requires sending data to a remote server to process the SVG into an image, see the Ext.draw.engine.ImageExporter for more details.

Parameters:

Returns: