PMA.UI Documentation by Pathomation

ColorAdjustment

PMA.UI.View.Controls ColorAdjustment

Creates a new brightness & contrast management control

Constructor

new ColorAdjustment(opt_options)

Source:
Parameters:
Name Type Description
opt_options object Options to initialize
Properties
Name Type Description
viewer Viewport Viewport instance this control belongs to
layer ol.layer The main layer of the openlayer map
stateManager Object The state manager to keep settings in sync

Methods

update(brightness, contrast, gamma)

Source:
Updates the color parameters
Parameters:
Name Type Description
brightness number The brightness value
contrast number The contrast value
gamma number The gamma value