APP资源网_中文资源在线官网_А天堂中文官网_中文在线APP资源下载网

SAI绘图教程:sai结合photoshop进行填涂性质的绘画 函数绘图软件

用js绘图

人气:1引自:中文资源在线官网

生物绘图软件有哪些推荐比较好用的?用户在这款软件中经常会用到一些生活绘图软件来模拟生物运动规律,生物绘图软件可以将复杂的生物运动以图像模型的方式展示出来,小编就为大家特定整合了网上几款比较优秀的生物绘图软件

... 绘图指令分类: (一)常见形状 1.矩形类 //rotation是以度为单位的旋转角度 Rect(x ,y, width, height, rotation) //矩形 Oval(x ,y, width, height, rotation) //椭圆 RoundRect(x ,y, width, height, arcWidth, arcHeight, rotation) 2.弧形类 Arc(x ,y, width, height, startAngle, arcAngle, rotation) //弧形 Pie(x ,y, width, height, startAngle, arcAngle, rotation) //饼图 3.多边形类 Polygon(nPoints, x1, y1, x2, y2, [x3, y3, ....], rotation) //闭合 Polyline(nPoints, x1, y1, x2, y2, [xn, yn, ....], rotation) //不闭合 (二)效果函数 1.线条效果 SetLineColor(r, g, b) //设置画线颜色 SetLineStyle(style) //style=(1:实线;2:虚线;0:隐藏) 2.填充效果 SetFillColor(r, g, b, backr, backg, backb) SetFillStyle(style) //style=(1:实心;2:透明;3:-;4:|;5:\;6:/;7:+;8:x) (三)文字输出函数 SetFont('字体',width,height,r,g,b) //设置字体 Text('要输出的文字内容', x,y,z) //输出文字 控制函数 //定义后在里使用。 引用格式:DirectDraw.FunctionName() rotate(x-rotation, y-rotation, z-rotation) //旋转 scale(x-scale,y-scale,z-scale) //缩放 translate(x-coordinate,y-coordinate,z-coordinate) //平移 setIdentity() //复原 clear() //清除,清除后无法恢复!

专题文集:JSP技巧 windows
引用标题:《SAI绘图教程:sai结合photoshop进行填涂性质的绘画 函数绘图软件》
来源地址:https://www.xjanfang.cn/news/tpart-29050.html