All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.assets.rjzjh.zrender.graphic.shape.Polygon.js Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
/**
 * 多边形
 * @module zrender/shape/Polygon
 */
define(function (require) {

    var polyHelper = require('../helper/poly');

    return require('../Path').extend({
        
        type: 'polygon',

        shape: {
            points: null,

            smooth: false,

            smoothConstraint: null
        },

        buildPath: function (ctx, shape) {
            polyHelper.buildPath(ctx, shape, true);
        }
    });
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy