html5中怎么画菱形、多边形?一、多边形类:polygon.jsvar Point = function (x, y) { this.x = x this.y = y}var Polygon = function (centerX, centerY, radiu2023-02-28html-css210