'use strict'; import ShapeBase from '../util/ShapeBase' /** * A downward facing Triangle Node/Cluster shape. * * @param {Object} options * @param {Object} body * @param {Label} labelModule * @constructor TriangleDown * @extends ShapeBase */ class TriangleDown extends ShapeBase { constructor(options, body, labelModule) { super(options, body, labelModule) } draw(ctx, x, y, selected, hover, values) { this._drawShape(ctx, 'triangleDown', 3, x, y, selected, hover, values); } distanceToBorder(ctx, angle) { return this._distanceToBorder(ctx,angle); } } export default TriangleDown;