public interface ColorScaleFormatting
Modifier and Type | Method and Description |
---|---|
ConditionalFormattingThreshold |
createThreshold()
Creates a new, empty Threshold
|
Color[] |
getColors()
Gets the list of colours that are interpolated
between.
|
int |
getNumControlPoints()
How many control points should be used to map
the colours? Normally 2 or 3
|
ConditionalFormattingThreshold[] |
getThresholds()
Gets the list of thresholds
|
void |
setColors(Color[] colors)
Sets the list of colours that are interpolated
between.
|
void |
setNumControlPoints(int num)
Sets the number of control points to use to map
the colours.
|
void |
setThresholds(ConditionalFormattingThreshold[] thresholds)
Sets the of thresholds.
|
int getNumControlPoints()
void setNumControlPoints(int num)
After updating, you need to ensure that the
Threshold
count and Color count match
Color[] getColors()
void setColors(Color[] colors)
getNumControlPoints()
ConditionalFormattingThreshold[] getThresholds()
void setThresholds(ConditionalFormattingThreshold[] thresholds)
getNumControlPoints()
ConditionalFormattingThreshold createThreshold()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.