chore: measureText width
parent
8e0033ef17
commit
9b9487c84c
|
@ -2,7 +2,7 @@ const example = {}
|
|||
|
||||
example.measureText = function (context) {
|
||||
const data = context.measureText('123')
|
||||
console.log(data)
|
||||
console.log(`width: ${data.width}`)
|
||||
}
|
||||
|
||||
example.rotate = function (context) {
|
||||
|
|
Loading…
Reference in New Issue