Home > @jsplumbtoolkit/browser-ui-plugin-background > SimpleBackground
SimpleBackground class
A background consisting of a single image.
Signature:
export declare class SimpleBackground implements ImageBackground
Implements: ImageBackground
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(params) | Constructs a new instance of the SimpleBackground class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
canvas | HTMLElement | ||
image | HTMLImageElement | ||
imagePlaceholder | HTMLImageElement | ||
onBackgroundReady | OnBackgroundReadyCallback | ||
surface | Surface | ||
type | string | ||
type | static | string | |
url | string |
Methods
Method | Modifiers | Description |
---|---|---|
_init(params) | ||
_setVisible(v) | ||
destroy() | ||
getHeight() | ||
getWidth() | ||
owns(el) | ||
pan() | ||
setUrl(url) | ||
setZoom(zoom, doNotDebounce) |