diff options
author | adhitya | 2016-04-12 07:02:39 +0000 |
---|---|---|
committer | adhitya | 2016-04-12 07:02:39 +0000 |
commit | dd83478e3fcaac98de690aa59e6288ad41a1c351 (patch) | |
tree | 38653bdf0ae95053f66777c4ac3fe5be5d8fbd33 /src/js/shape/mxHexagon.js | |
parent | 92f3207b50a1caca07df5c5b238212af3358905b (diff) | |
download | xcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.tar.gz xcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.tar.bz2 xcos-on-web-dd83478e3fcaac98de690aa59e6288ad41a1c351.zip |
Keyboard shortcuts work properly
Diffstat (limited to 'src/js/shape/mxHexagon.js')
-rw-r--r-- | src/js/shape/mxHexagon.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/js/shape/mxHexagon.js b/src/js/shape/mxHexagon.js deleted file mode 100644 index 7fa45a3..0000000 --- a/src/js/shape/mxHexagon.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * $Id: mxHexagon.js,v 1.8 2011-09-02 10:01:00 gaudenz Exp $ - * Copyright (c) 2006-2010, JGraph Ltd - */ -/** - * Class: mxHexagon - * - * Implementation of the hexagon shape. - * - * Constructor: mxHexagon - * - * Constructs a new hexagon shape. - */ -function mxHexagon() { }; - -/** - * Extends <mxActor>. - */ -mxHexagon.prototype = new mxActor(); -mxHexagon.prototype.constructor = mxHexagon; - -/** - * Function: redrawPath - * - * Draws the path for this shape. This method uses the <mxPath> - * abstraction to paint the shape for VML and SVG. - */ -mxHexagon.prototype.redrawPath = function(path, x, y, w, h) -{ - path.moveTo(0.25 * w, 0); - path.lineTo(0.75 * w, 0); - path.lineTo(w, 0.5 * h); - path.lineTo(0.75 * w, h); - path.lineTo(0.25 * w, h); - path.lineTo(0, 0.5 * h); - path.close(); -}; |