渐变填充矩形是我的死穴-每次我遇到不太灵光的设计方案的时候我都会有这个习惯。
Gradient rectangles are my crutch - I have a terrible habit of using them whenever I feel like a design isn't working.
显示如何使用水平线性渐变画笔填充线条、椭圆和矩形。
Shows how to fill a line, an ellipse, and a rectangle with a horizontal linear gradient brush.
该代码用渐变画笔填充椭圆和矩形。
The code fills an ellipse and a rectangle with the gradient brush.
应用推荐