public class ThemeUnique extends Theme
单值专题图。
是将专题值相同的要素归为一类,为每一类设定一种渲染风格,如颜色或符号等,专题值相同的要素采用相同的渲染风格,从而区分不同的类别。 例如,在表示土地的面数据中表示土地利用类型的字段中有草地,林地,居民地,耕地等值,使用单值专题图进行渲染时,每种类型的土地利用类型被赋予一种颜色或填充风格,从而可以看出每种类型的土地利用的分布区域和范围。可用于地质图、地貌图、植被图、土地利用图、政治行政区划图、自然区划图、经济区划图等。
单值专题图着重表示现象质的差别,一般不表示数量的特征。尤其是有交叉或重叠现象时,此类不推荐使用,例如:民族分布区等。
下图为山东省行政区划单值专题图,下图中每一种颜色代表一个行政区:
限定符和类型 | 字段和说明 |
---|---|
ColorGradientType |
colorGradientType
颜色渐变类型。
|
ServerStyle |
defaultStyle
ServerStyle对象,单值专题图的默认风格。
|
ThemeUniqueItem[] |
items
单值专题图子项类数组。
|
java.lang.String |
uniqueExpression
单值专题图字段表达式。
|
themeMemoryData, type
构造器和说明 |
---|
ThemeUnique()
构造函数。
|
public ColorGradientType colorGradientType
颜色渐变类型。默认为ColorGradientType.YELLOWBLUE,表示由黄到绿进行渐变。
public ServerStyle defaultStyle
ServerStyle对象,单值专题图的默认风格。
public ThemeUniqueItem[] items
单值专题图子项类数组。
public java.lang.String uniqueExpression
单值专题图字段表达式。