熱門標簽:電銷外呼系統 排行榜
山東智能云外呼管理系統
四川電信外呼系統靠譜嗎
廣州三五防封電銷卡
外呼系統啥意思
珠海銷售外呼系統運營商
地圖標注制作道路
長春回撥外呼系統廠家
地圖標注創業項目入駐
object id=DirectDraw
classid="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6"
style="positiion:absolute;top:0;left:0;width:320;height:200"
>
param name="line0001" value="繪圖指令1">
param name="line0002" value="繪圖指令2">
...
/object>
繪圖指令分類:
(一)常見形狀
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) //輸出文字
控制函數 //定義object>后在script>/script>里使用。
引用格式: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() //清除,清除后無法恢復!
您可能感興趣的文章:- jquery.flot.js簡單繪制折線圖用法示例
- 詳解plotly.js 繪圖庫入門使用教程
- JavaScript基礎——使用Canvas繪圖
- RequireJS簡易繪圖程序開發
- 純JavaScript代碼實現移動設備繪圖解鎖
- JavaScript 繪圖代碼
- 用JavaScript繪圖 ——JS2D函數集
- JS繪圖Flot應用圖形繪制異常解決方案
標簽:廣元
玉樹
北海
吳忠
肇慶
潮州
紹興
保定
巨人網絡通訊聲明:本文標題《用js繪圖》,本文關鍵詞 用,繪圖,用,繪圖,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。