summaryrefslogtreecommitdiff
path: root/src/js/shape/mxTriangle.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/shape/mxTriangle.js')
-rw-r--r--src/js/shape/mxTriangle.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/js/shape/mxTriangle.js b/src/js/shape/mxTriangle.js
deleted file mode 100644
index 3a48db2..0000000
--- a/src/js/shape/mxTriangle.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * $Id: mxTriangle.js,v 1.10 2011-09-02 10:01:00 gaudenz Exp $
- * Copyright (c) 2006-2010, JGraph Ltd
- */
-/**
- * Class: mxTriangle
- *
- * Implementation of the triangle shape.
- *
- * Constructor: mxTriangle
- *
- * Constructs a new triangle shape.
- */
-function mxTriangle() { };
-
-/**
- * Extends <mxActor>.
- */
-mxTriangle.prototype = new mxActor();
-mxTriangle.prototype.constructor = mxTriangle;
-
-/**
- * Function: redrawPath
- *
- * Draws the path for this shape. This method uses the <mxPath>
- * abstraction to paint the shape for VML and SVG.
- */
-mxTriangle.prototype.redrawPath = function(path, x, y, w, h)
-{
- path.moveTo(0, 0);
- path.lineTo(w, 0.5 * h);
- path.lineTo(0, h);
- path.close();
-};