text: import draw2d from '../../packages'
  
  
  /**
   * @class
  
   *
   * @example
   *
   *    let icon =  new draw2d.shape.icon.Cross();
   *
   *    canvas.add(icon,50,10);
   *
   * @inheritable
   * @author Andreas Herz
   * @extends draw2d.shape.icon.Icon
   */
  draw2d.shape.icon.Cross = draw2d.shape.icon.Icon.extend(
    /** @lends draw2d.shape.icon.Cross.prototype */
    {
  
    NAME: "draw2d.shape.icon.Cross",
  
    /**
     *
     * Creates a new icon element which are not assigned to any canvas.
     *
     * @param {Object} attr the configuration of the shape
     */
    init: function (attr, setter, getter) {
      this._super(extend({width: 50, height: 50}, attr), setter, getter)
    },
  
    /**
     * @private
     * @returns {Object} the raphaelJS path object
     */
    createSet: function () {
      return this.canvas.paper.path("M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z")
    }
  })
  
  