Constructor
new ColorizedImage(target, options)
options = {
src: "example.png"
scale: {object[]} ColorScale array,
maxScaleSize: 10 //default
}
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement | string | |
options |
object |
- Source:
Methods
setScale(image)
Parameters:
Name | Type | Description |
---|---|---|
image |
Array.<object> |
- Source: