code: function addRectHandles($canvas, parent) {
  	var handlePlacement = parent.handlePlacement;
  	// Store current width-to-height ratio
  	if (parent.aspectRatio === null && parent.height !== 0) {
  		parent.aspectRatio = parent.width / parent.height;
  	}
  	// Optionally add handles to corners
  	if (handlePlacement === 'corners' || handlePlacement === 'both') {
  		addRectHandle($canvas, parent, -1, -1);
  		addRectHandle($canvas, parent, 1, -1);
  		addRectHandle($canvas, parent, 1, 1);
  		addRectHandle($canvas, parent, -1, 1);
  	}
  	// Optionally add handles to sides
  	if (handlePlacement === 'sides' || handlePlacement === 'both') {
  		addRectHandle($canvas, parent, 0, -1);
  		addRectHandle($canvas, parent, 1, 0);
  		addRectHandle($canvas, parent, 0, 1);
  		addRectHandle($canvas, parent, -1, 0);
  	}
  	// Optionally add handle guides
  	if (parent.guide) {
  		addRectGuides($canvas, parent);
  	}
  }
docs: Add all handles to rectangle