aardio 文档

gdip.pen 库模块帮助文档

gdip 成员列表 #

gdip.pen #

画笔

gdip.pen() #

返回对象:gdipPenObject

gdip.pen(笔刷,宽度,单位) #

创建画笔
单位默认为像素

gdip.pen(颜色值,宽度,单位) #

创建单色画笔
单位默认为像素

gdipPenObject 成员列表 #

gdipPenObject.clone() #

复制画笔对象

gdipPenObject.color #

颜色

获取或修改画笔颜色

gdipPenObject.dashCap #

gdipPenObject.dashCap = _GdipLineCap/*虚线线帽*/

gdipPenObject.dashOffset #

虚线偏移

gdipPenObject.dashStyle #

gdipPenObject.dashStyle = _GdipDashStyle/*虚线样式*/

gdipPenObject.delete() #

释放画笔对象

gdipPenObject.endCap #

gdipPenObject.endCap = _GdipLineCap/*终端线帽,指定线帽后画笔宽度为线帽宽度*/

gdipPenObject.getFillType() #

填充类型

gdipPenObject.lineJoin #

gdipPenObject.lineJoin = _GdipLineJoin/*线条连接样式*/

gdipPenObject.miterLimit #

斜率限制

gdipPenObject.startCap #

gdipPenObject.startCap = _GdipLineCap/*起点线帽,指定线帽后画笔宽度为线帽宽度*/

gdipPenObject.unit #

单位

gdipPenObject.width #

宽度

Markdown 格式