public interface IltColorModifierContext
IltColorModifierContext
is given as argument when
IltColorModifier.modify
is invoked. This instance contains
information regarding the pixels to be modified, or the values of the
gauge or chart to be modified.Modifier and Type | Method and Description |
---|---|
float |
getBarValue()
Returns the value of the bar to be modified, in the
range 0..1 . |
float |
getLastValue()
Returns the last value of the chart.
|
float |
getMaxValue()
Returns the maximum value of the chart.
|
float |
getPixelValue()
Returns the value of the pixel to be modified, in the range
0..1 . |
float getPixelValue()
0..1
.
getBarValue
, the pixel is supposed to be in foregroundColor
,
so that the color modifier returns the foregroundColor
.
When this value is greater than the value returned by
getBarValue
, the pixel is supposed to be in backgroundColor
,
so that the color modifier returns the backgroundColor
.float getBarValue()
range 0..1
.
float getLastValue()
Note: When a gauge is being modified, this method returns the current value of the gauge.
float getMaxValue()
Note: When a gauge is being modified, this method returns the current value of the gauge.
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.