This commit is contained in:
2021-11-15 03:02:41 +03:00
parent e4c0f96c74
commit fb558f0256
2 changed files with 2 additions and 3 deletions

View File

@@ -3,4 +3,3 @@ const ctx = canvas.getContext('2d');
let text = ctx.measureText('Hello world');
console.log(text.width); // 56;