这里的渐变效果使倒影看起来似乎正在淡出。
The gradient effect here makes the reflection seem to fade away.
fill() 方法使所有子路径封闭起来,然后逐个填充每个子路径,期间使用 fillStyle (一种颜色,或一个渐变对象)来决定如何绘制填充。
The fill() method closes any subpaths and then fills each subpath in turn using fillStyle (which can be a color, or, as discussed later, a gradient object) to determine how to draw the fill.
以下代码和过程描述将展示一种相对简单的方法,用于修改地图图像和 plot-latlong 程序,使您可以创建有用的具有色彩渐变效果的美国地图。
The following code and process descriptions show a relatively easy way of modifying the map images and the plot-latlong program to allow you to create useful shaded U.S. maps
应用推荐