6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
const [
|
|
width= nextWidth,
|
|
height= nextHeight,
|
|
baseline= nextBaseline,
|
|
] = measureText(nextText, getFontString(element));
|