建立好一条路径后,为了使之可见,必须对它进行描边或填充。
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.
注意,我绘制形象用的“填充”,这是很重要的,因为开始矢量绘制的时候,我使用的是填充绘制,而不是描边。
Notice how I draw my art out with "shapes" in mind. That is important because when I go to build it I'll build using shapes, not strokes.
注意,我绘制形象用的“填充”,这是很重要的,因为开始矢量绘制的时候,我使用的是填充绘制,而不是描边。
Notice how I draw my art out with "shapes" in mind. That is important because when I go to build it I'll build using shapes, not strokes.
应用推荐