The result is an untranslated red-filled rectangle and a translated blue-filled rectangle.
结果得到一个未平移的用红色填充的矩形和一个已平移的用蓝色填充的矩形。
In the first grid image below, a rectangle from (2,1) to (5,5) is filled. The entire area between them (light red) falls on pixel boundaries, so the resulting filled rectangle will have crisp edges.
在第一个图中,填充了(2,1)至(5,5) 的矩形,整个区域的边界刚好落在像素边缘上,这样就可以得到的矩形有着清晰的边缘。
The following illustration shows a rectangle filled with a linear gradient brush and an ellipse filled with a path gradient brush.
下图显示的是使用线形渐层笔刷填满的矩形和使用路径渐层笔刷填满的椭圆形。
The following illustration shows a rectangle filled with a linear gradient brush and an ellipse filled with a path gradient brush.
下图显示的是使用线形渐层笔刷填满的矩形和使用路径渐层笔刷填满的椭圆形。
应用推荐