mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-09-10 11:40:42 +08:00
Update README.md
This commit is contained in:
@@ -42,7 +42,7 @@ NOTE: if a single word is too long to fit the width with specified font size, it
|
|||||||
```
|
```
|
||||||
|
|
||||||
##Usage
|
##Usage
|
||||||
Configure context settings properties "fillStyle", "lineWidth" or "strokeStyle" before using CanvasTextWrapper like so:
|
Configure context settings properties such as "fillStyle", "lineWidth" or "strokeStyle" before using CanvasTextWrapper like so:
|
||||||
```
|
```
|
||||||
var canvas = document.getElementById("#canvasText");
|
var canvas = document.getElementById("#canvasText");
|
||||||
canvas.width = 200;
|
canvas.width = 200;
|
||||||
|
|||||||
Reference in New Issue
Block a user