Note that this is a radial gradient, whereas earlier you saw a linear gradient.
注意,这是一个放射状渐变,而此前您看到的是一个线性渐变。
Now create a rectangle with the same width as the previously scaled shape, then fill it with a linear gradient.
现在绘制一个矩形,宽度同之前缩放的矩形宽度,然后填充线性渐变。
The following illustration shows a rectangle filled with a linear gradient brush and an ellipse filled with a path gradient brush.
下图显示的是使用线形渐层笔刷填满的矩形和使用路径渐层笔刷填满的椭圆形。
应用推荐