mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-06-27 19:45:29 +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
|
||||
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");
|
||||
canvas.width = 200;
|
||||
|
||||
Reference in New Issue
Block a user