SetBrush Statement:
Select current image as a brush
Sample: object.SetBrush
This method selects current image as image brush. You can cancel this selection
by calling ClearBrush method. It’s possible to use either simple color,
gradient or brush fill type by calling setColor, SetGradient or SetBrush
method. The brush fill has the highest priority, and, if defined, it will
override all other fill types. The simple color fill has the lowest priority.
Thus, if you need to use a simple color fill, you should clear brush and
gradient data.
See also
SetBrush,
ClearBrush, SetGradient, ClearGradient
More samples:
Brush
Circle,
Arc, Ellipse,
Brush, Polygon,
Pie
Gradient
Arc,
Besier, Circle,
Ellipse,
Gradient, Pie,
Polygon,
Rectangle, Unclosed
polygon
|
|