Class: ColorizedImage

vef.ui.color.ColorizedImage(target, options)

Module for applying a different color scale to an image

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
Author:
Source:

Methods

setScale(image)

Parameters:
Name Type Description
image Array.<object>
Source: