TouchVG framework

◆ setBrush()

virtual void GiCanvas::setBrush ( int  argb,
int  style 
)
pure virtual

Set attributes of the current brush to fill shapes.

参数
argbFill color, alpha = (argb>>24) & 0xFF.
styleFill type, 0: fill with a solid color, >0: customized fill type.

GiGdipCanvas, GiShapeAdapter, GiCanvasAdapter, GiRecordCanvas , 以及 GiSvgCanvas 内被实现.

这是这个函数的调用关系图:

通用矢量图形框架, 版权所有 (C) 张云贵 2004-2017,BSD 开源许可证