建立好一条路径后,为了使之可见,必须对它进行描边或填充。
Once you build a path, you must stroke it or fill it before it becomes visible.
清单6演示了一个简单的例子,这个例子用各种方式描边和填充一些正方形。
Listing 6 demonstrates a simple example in which a few squares are stroked and filled in various ways.
这些过程可以移动画笔(pen),最终创建路径(path),而路径可以被描边,可以用渐变方式和颜色进行填充(如果是封闭的)。
These procedures move the pen, which ultimately creates the path that can then be stroked or filled (when it is closed) with gradients and colors.
应用推荐