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
(应该使用多少个控制点来映射颜色?通常为 2 或 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()
(设置在其间插值的颜色列表。数字必须匹配 getNumControlPoints())
ConditionalFormattingThreshold[] getThresholds()
void setThresholds(ConditionalFormattingThreshold[] thresholds)
getNumControlPoints()
(设置阈值。数字必须匹配 getNumControlPoints())
ConditionalFormattingThreshold createThreshold()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.