摘要:
function getPolygonAreaCenter(points) { var sum_x = 0; var sum_y = 0; var sum_area = 0; var p1 = points[1]; for (var i = 2; i < points.length; i++) { 阅读全文
摘要:
function convertCanvasToImage() { const image = renderer.plugins.extract.canvas(stage).toDataURL(); var link = document.createElement('a'); link.setAt 阅读全文