1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/zrender/lib/graphic/shape/Polygon.js

21 lines
375 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
var Path = require("../Path");
var polyHelper = require("../helper/poly");
/**
* 多边形
* @module zrender/shape/Polygon
*/
var _default = Path.extend({
type: 'polygon',
shape: {
points: null,
smooth: false,
smoothConstraint: null
},
buildPath: function (ctx, shape) {
polyHelper.buildPath(ctx, shape, true);
}
});
module.exports = _default;