gis-common 4.2.18 → 4.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,7 @@ export default class Color {
42
42
  * @returns 返回颜色对象,如果 hsl 字符串无效则返回 null
43
43
  */
44
44
  static fromHsl(hslValue: string): Color;
45
+ static fromName(str: string): Color;
45
46
  /**
46
47
  * 从字符串中创建颜色对象
47
48
  *