var bbox = textElement.getBBox(); var width = bbox.width; var height = bbox.height;. and then set the rect's attributes accordingly ...
確定! 回上一頁