Rectangles (as well as other shapes) have both a fill color and an outline color.
长方形(其他形状也一样)有两种颜色,一种是填充色,另一个是边框色。
Let's also make the fill color for the line black and specify the two end points of the line.
另外,让我们用黑色填充这个线条,并为其指定两个端点。
Any SVG property that can be applied to an element — such as fill color, stroke-width, size, and opacity — can be changed in this fashion.
任何可以应用到元素上的svg属性——如填充颜色、笔划宽度、大小和透明度——都可以以这种方式改变。
Fill determines the color of the fill area under the line in area line graphs and determines the bar fill color for bar and column graphs.
fill指定区域线形图中的线条下方的填充区域的颜色,以及条形图和柱形图的条填充颜色。
To remove these borders, set the -outline property to be the same as the fill color; to widen the borders, use the -width property to specify their width in pixels.
要去除这些边框,设置-outline属性为与填充色相同即可;要加宽边框,使用- width属性来指定宽度(用像素表示)。
My life is like a blue sky, anything is possible for me to complete, so I'll fill color.
我的人生就像蓝天,什么都可能发生,由我来完成、由我来填充色彩。
Next we save this state and make changes to the fill color. We then draw the second and smaller blue rectangle and save the state.
改变填充颜色画第二个小一点的蓝色四方形,然后再保存一下状态。
Just remember that line color is black and Fill color is transparent.
一定要记住所画的图形轮廓为黑色,无填充。
Just remember that line color is black and Fill color is transparent.
一定要记住所画的图形轮廓为黑色,无填充。
应用推荐