text: import draw2d from '../../packages'
  
  
  /**
   * @class draw2d.shape.icon.Lock
  
   *
   * @example
   *
   *     let icon =  new draw2d.shape.icon.Lock();
   *
   *     canvas.add(icon,50,10);
   *
   * @inheritable
   * @author Andreas Herz
   * @extends draw2d.shape.icon.Icon
   */
  draw2d.shape.icon.Lock = draw2d.shape.icon.Icon.extend(
    /** @lends draw2d.shape.icon.Lock.prototype */
    {
  
    NAME: "draw2d.shape.icon.Lock",
  
    /**
     *
     * 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
     */
    createSet: function () {
      return this.canvas.paper.path("M22.335,12.833V9.999h-0.001C22.333,6.501,19.498,3.666,16,3.666S9.666,6.502,9.666,10h0v2.833H7.375V25h17.25V12.833H22.335zM11.667,10C11.667,10,11.667,10,11.667,10c0-2.39,1.944-4.334,4.333-4.334c2.391,0,4.335,1.944,4.335,4.333c0,0,0,0,0,0v2.834h-8.668V10z")
    }
  })
  
  