public class ColorSchemeUIUtilities
extends java.lang.Object
构造器和说明 |
---|
ColorSchemeUIUtilities() |
限定符和类型 | 方法和说明 |
---|---|
static com.supermap.data.Colors |
buildRandom(int colorCount, java.awt.Color[] keyColors)
生成随机色
|
static com.supermap.data.Colors |
getColorsByColorScheme(int count, com.supermap.desktop.controls.colorScheme.ColorScheme colorScheme)
根据ColorScheme生成指定的颜色个数
|
static com.supermap.data.Colors |
getRasterLinkColors() |
static boolean |
isEqualsColors(com.supermap.data.Colors c1, com.supermap.data.Colors c2)
比较颜色是否相同
|
public static com.supermap.data.Colors buildRandom(int colorCount, java.awt.Color[] keyColors)
colorCount
- 颜色总数keyColors
- 关键色public static com.supermap.data.Colors getRasterLinkColors()
public static boolean isEqualsColors(com.supermap.data.Colors c1, com.supermap.data.Colors c2)
c1
- 源颜色c2
- 目标颜色public static com.supermap.data.Colors getColorsByColorScheme(int count, com.supermap.desktop.controls.colorScheme.ColorScheme colorScheme)
count
- Colors的目标个数colorScheme
- 颜色配置类