JavaScript must be enabled in order for you to use JSXGraph and JSXGraph reference. However, it seems JavaScript is either disabled or not supported by your browser.

Class Index | File Index

Elements

Classes


Element Image


      ↳ Image

Displays an image.

Defined in: Image.js.

Element Summary
Constructor Attributes Constructor Name and Description
 
Shows an image.
Element Detail
Image
Shows an image. The image can be supplied as an URL or an base64 encoded inline image like "data:image/png;base64, /9j/4AAQSkZJRgA..." or a function returning an URL: function(){ return 'xxx.png; }.
This element has no direct constructor. To create an instance of this element you have to call JXG.Board#create with type "image".

Possible parent array combinations are:

[position of the top left vertice], [width,height]


Throws:
{Exception}
If the element cannot be constructed with the given parent objects an exception is thrown.
Examples:
var im = board.create('image', ['http://geonext.uni-bayreuth.de/fileadmin/geonext/design/images/logo.gif', [-3,1],[5,5]]);


				
                



Documentation generated by JsDoc Toolkit 2.4.0 on Mon Apr 02 2012 18:34:26 GMT+0200 (MESZ)