cesiumlab / cesiumlab/XbsjEarthUI

color.xeColor是怎么来的

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

请问下,
![image](https://user-images.githubusercontent.com/13550568/69540717-50afec00-0fc2-11ea-8fb7-e14c8403ffcb.png)

这里的color.xeColor是怎么来的啊?我试着打印并typeof color了,它就是个hex code string,这个.xeColor是从哪里来的啊?

---

xeColor 是把一个字符串,转成 [1, 1, 1, 1]这种形式的颜色供EarthSDK使用,扩展了String的属性。。

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue says `xeColor` extends `String` and converts a string into a color array for EarthSDK, but names no file or test. Search the repository for `xeColor` and read the String extension definition. Done means identifying where it is defined and explaining how the conversion is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.