Class Image
Displays an image.
Defined in: Image.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Image(url,)
Shows an image.
|
Class Detail
Image(url,)
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; }.
var im = board.create('image', ['http://geonext.uni-bayreuth.de/fileadmin/geonext/design/images/logo.gif', [-3,1],[5,5]]);
- Parameters:
- {String_Array_Array} url,
- [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.