aardio 文档

gdip.path 库模块帮助文档

gdip 成员列表 #

gdip.AddPathArc #

$.api("GdipAddPathArc","int(PTR path,float x,float y,float width,float height,float startAngle,float sweepAngle)")

gdip.AddPathBezier #

$.api("GdipAddPathBezier","int(PTR path,float x1,float y1,float x2,float y2,float x3,float y3,float x4,float y4)")

gdip.AddPathClosedCurve #

$.api("GdipAddPathClosedCurve","int(PTR path,struct Points,int count)")

gdip.AddPathCurve #

$.api("GdipAddPathCurve","int(PTR path,struct Points,int count)")

gdip.AddPathEllipse #

$.api("GdipAddPathEllipse","int(PTR path,float x,float y,float width,float height)")

gdip.AddPathLine #

$.api("GdipAddPathLine","int(PTR path,float x1,float y1,float x2,float y2)")

gdip.AddPathPath #

$.api("GdipAddPathPath","int(PTR path,pointer addingPath,int bConnect)")

gdip.AddPathPie #

$.api("GdipAddPathPie","int(PTR path,float x,float y,float width,float height,float startAngle,float sweepAngle)")

gdip.AddPathPolygon #

$.api("GdipAddPathPolygon","int(PTR path,struct Points,int count)")

gdip.AddPathRectangle #

$.api("GdipAddPathRectangle","int(PTR path,float x,float y,float width,float height)")

gdip.AddPathString #

$.api("GdipAddPathString","int(PTR path,string str,int Length,pointer family,int style,float emSize,struct& layoutRect,ptr strFmt)")

gdip.ClonePath #

$.api("GdipClonePath","int(PTR path,int& clonePath)")

gdip.ClosePathFigure #

$.api("GdipClosePathFigure","int(PTR path)")

gdip.ClosePathFigures #

$.api("GdipClosePathFigures","int(PTR path)")

gdip.CreatePath #

$.api("GdipCreatePath","int(int brushmode,pointer& Path)")

gdip.DeletePath #

$.api("GdipDeletePath","int(PTR path)")

gdip.ResetPath #

$.api("GdipResetPath","int(PTR path)")

gdip.StartPathFigure #

$.api("GdipStartPathFigure","int(PTR path)")

gdip.path() #

返回对象:gdiPathObject

gdip.path(_GdipFillMode) #

创建路径对象

gdip.path 成员列表 #

gdip.path.is() #

参数 @1 是否 gdip.bitmap 对象

gdiPathObject 成员列表 #

gdiPathObject.addArc() #

返回对象:gdiPathObject

gdiPathObject.addArc(x,y,width,height,startAngle,sweepAngle) #

添加椭圆弧
startAngle:起始角度,以度为单位从X轴顺时针测量
sweepAngle:startAngle 和弧线末尾之间的角度nn返回对象自身。

gdiPathObject.addBezier() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addBezier(point1,point2,point3,point4) #

添加贝塞尔曲线。
参数 @point1 到 @point4 可指定为 ::POINTF 结构体或者包含 x,y 字段的普通表对象。
四个坐标点分别为:起始锚点,起始控制点,结束锚点,结束控制点。nn返回对象自身。

gdiPathObject.addBezier(x1,y1,x2,y2,x3,y3,x4,y4) #

添加贝塞尔曲线。
4个坐标点分别为:起始锚点,起始控制点,结束锚点,结束控制点nn返回对象自身。

gdiPathObject.addClosedCurve() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addClosedCurve(points...) #

添加闭合曲线。

gdiPathObject.addClosedCurve(x1,y1,y2,y2...) #

添加闭合曲线。

gdiPathObject.addCurve() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addCurve(points...) #

添加曲线。

gdiPathObject.addCurve(x1,y1,y2,y2...) #

添加曲线。

gdiPathObject.addEllipse() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addEllipse(rect) #

添加椭圆。
参数 @rect 可指定 ::RECT 或 ::RECTF 结构体。nn返回对象自身。

gdiPathObject.addEllipse(x,y,width,height) #

添加椭圆。
参数 x,y 依次指定左、上位置,width,height 依次指定宽、高。nn返回对象自身。

gdiPathObject.addLine() #

返回对象:gdiPathObject

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addLine(pioint1,point1) #

添加直线。
参数 @point1,@point2 指定开始与结束坐标,
坐标为包含 x,y 字段(数值)的任意表对象。nn返回对象自身。

gdiPathObject.addLine(x1,y1,x2,y2) #

添加直线nn返回对象自身。

添加直线。
参数 @x1,@y1,@x2,@y2 指定开始与结束坐标nn返回对象自身。

gdiPathObject.addPath() #

返回对象:gdiPathObject

gdiPathObject.addPath(路径对象) #

添加另一个路径对象。
参数 @1 指定 gdip.path 对象。

返回对象自身。

gdiPathObject.addPie() #

返回对象:gdiPathObject

gdiPathObject.addPie(x,y,width,height,startAngle,sweepAngle) #

添加一个扇形轮廓
startAngle:起始角度,以度为单位从X轴顺时针测量
sweepAngle:startAngle 和弧线末尾之间的角度nn返回对象自身。

gdiPathObject.addPolygon() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addPolygon(points...) #

添加多边形。

gdiPathObject.addPolygon(x1,y1,y2,y2...) #

添加多边形。

gdiPathObject.addPolyline #

绘制折线(多段线)nn返回对象自身。

gdiPathObject.addPolyline() #

返回对象:gdiPathObject

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addPolyline(points...) #

gdiPathObject.addPolyline(x1,y1,y2,y2...) #

gdiPathObject.addRectangle() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addRectangle(rect) #

添加矩形。
参数 @rect 可指定 ::RECT 或 ::RECTF 结构体。nn返回对象自身。

gdiPathObject.addRectangle(x,y,width,height) #

添加矩形。
参数 x,y 依次指定左、上位置,width,height 依次指定宽、高。nn返回对象自身。

gdiPathObject.addRoundRect() #

返回对象:gdiPathObject

返回对象:gdiPathObject

gdiPathObject.addRoundRect(rect,radius) #

添加圆角矩形。

gdiPathObject.addRoundRect(x,y,width,height,radius) #

添加圆角矩形。

gdiPathObject.addString() #

返回对象:gdiPathObject

gdiPathObject.addString(str,family,style,emSize,rclayout,strformat ) #

添加字符串 nn返回对象自身。

gdiPathObject.closeAllFigure() #

闭合所有图形开始新图。
返回对象自身。

返回对象:gdiPathObject

gdiPathObject.closeFigure() #

闭合当前图形开始新图。
返回对象自身。

返回对象:gdiPathObject

gdiPathObject.delete() #

释放路径对象

gdiPathObject.draw() #

返回对象:gdiPathObject

gdiPathObject.draw(graphics,pen) #

在参数 @graphics 指定的画板上使用画笔 @pen 绘图。

返回对象自身。

gdiPathObject.fill() #

返回对象:gdiPathObject

gdiPathObject.fill(graphics,brush) #

在参数 @graphics 指定的画板上使用画刷 @brush 填充。

返回对象自身。

gdiPathObject.pointCount #

路径对象添加的数据点总数

gdiPathObject.reset() #

重置为空路径。
返回对象自身。

返回对象:gdiPathObject

gdiPathObject.startFigure() #

不闭合开始新图形。
返回对象自身。

返回对象:gdiPathObject

Markdown 格式