Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 265 Bytes

Cesium颜色.md

File metadata and controls

17 lines (11 loc) · 265 Bytes

官方定义

new Cesium.Color(red, green, blue, alpha)

0 - 1.0

Cesium.Color.fromCssColorString (color, result )

css样式表示的颜色 #FFFFFF

改变颜色透明度

修改一个新颜色 var translucentRed = Cesium.Color.RED.withAlpha(0.9);