unicanvaselement.md 3.4 KB
Newer Older
D
DCloud_LXH 已提交
1 2 3 4
## UniCanvasElement

<!-- CUSTOMTYPEJSON.UniCanvasElement.description -->

W
wanganxp 已提交
5 6
参考:[canvas组件](../component/canvas.md)

D
DCloud_LXH 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<!-- CUSTOMTYPEJSON.UniCanvasElement.extends -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.param -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.compatibility -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.example -->

### UniCanvasElement 的方法 @unicanvaselement-methods
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.name -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.description -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.compatibility -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.param -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.returnValue -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.getContext.tutorial -->

D
DCloud_LXH 已提交
28
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.name -->
D
DCloud_LXH 已提交
29

D
DCloud_LXH 已提交
30
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.description -->
D
DCloud_LXH 已提交
31

D
DCloud_LXH 已提交
32
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.compatibility -->
D
DCloud_LXH 已提交
33

D
DCloud_LXH 已提交
34
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.param -->
D
DCloud_LXH 已提交
35

D
DCloud_LXH 已提交
36
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.returnValue -->
D
DCloud_LXH 已提交
37

D
DCloud_LXH 已提交
38
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob.tutorial -->
D
DCloud_LXH 已提交
39

D
DCloud_LXH 已提交
40
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.name -->
D
DCloud_LXH 已提交
41

D
DCloud_LXH 已提交
42
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.description -->
D
DCloud_LXH 已提交
43

D
DCloud_LXH 已提交
44
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.compatibility -->
D
DCloud_LXH 已提交
45

D
DCloud_LXH 已提交
46
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.param -->
D
DCloud_LXH 已提交
47

D
DCloud_LXH 已提交
48
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.returnValue -->
D
DCloud_LXH 已提交
49

D
DCloud_LXH 已提交
50
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_1.tutorial -->
D
DCloud_LXH 已提交
51

D
DCloud_LXH 已提交
52
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.name -->
D
DCloud_LXH 已提交
53

D
DCloud_LXH 已提交
54
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.description -->
D
DCloud_LXH 已提交
55

D
DCloud_LXH 已提交
56
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.compatibility -->
D
DCloud_LXH 已提交
57

D
DCloud_LXH 已提交
58
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.param -->
D
DCloud_LXH 已提交
59

D
DCloud_LXH 已提交
60
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.returnValue -->
D
DCloud_LXH 已提交
61

D
DCloud_LXH 已提交
62
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toBlob_2.tutorial -->
D
DCloud_LXH 已提交
63

64
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.name -->
D
DCloud_LXH 已提交
65

66
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.description -->
D
DCloud_LXH 已提交
67

68
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.compatibility -->
D
DCloud_LXH 已提交
69

70
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.param -->
D
DCloud_LXH 已提交
71

72
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.returnValue -->
D
DCloud_LXH 已提交
73

74
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL.tutorial -->
D
DCloud_LXH 已提交
75

76
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.name -->
D
DCloud_LXH 已提交
77

78
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.description -->
D
DCloud_LXH 已提交
79

80
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.compatibility -->
D
DCloud_LXH 已提交
81

82
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.param -->
D
DCloud_LXH 已提交
83

84
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.returnValue -->
D
DCloud_LXH 已提交
85

86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_1.tutorial -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.name -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.description -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.compatibility -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.param -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.returnValue -->

<!-- CUSTOMTYPEJSON.UniCanvasElement.methods.toDataURL_2.tutorial -->

**注意事项**
- toDataURL方法在 App-Android 平台暂不支持在页面的onLoad和组件的onMount生命周期中调用