drawablecontext.md 6.7 KB
Newer Older
D
DCloud_LXH 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
## DrawableContext

<!-- CUSTOMTYPEJSON.DrawableContext.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.extends -->

<!-- CUSTOMTYPEJSON.DrawableContext.param -->

### 方法
<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.beginPath.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.arc.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.moveTo.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.rect.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.lineTo.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.closePath.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.stroke.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeRect.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.strokeText.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fill.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillRect.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.fillText.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.reset.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.update.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.setLineDash.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.name -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.description -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.param -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.returnValue -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.compatibility -->

<!-- CUSTOMTYPEJSON.DrawableContext.methods.bezierCurveTo.tutorial -->

<!-- CUSTOMTYPEJSON.DrawableContext.example -->

## Bug & Tips@tips
+ 同时使用`border-radius``DrawableContext`,可能会出现`DrawableContext`绘制内容超出border区域的情况。