/*
 * @(#)DiamondFigureGeometricAdapter.java
 *
 * Project:		JHotdraw - a GUI framework for technical drawings
 *				http://www.jhotdraw.org
 *				http://jhotdraw.sourceforge.net
 * Copyright:	© by the original author(s) and all contributors
 * License:		Lesser GNU Public License (LGPL)
 *				http://www.opensource.org/licenses/lgpl-license.html
 */
package org.jhotdraw.contrib.html;

import java.awt.Point;
import java.awt.Shape;

import org.jhotdraw.contrib.DiamondFigure;

/**
 * Geometric adapter for the DiamondFigure
 *
 * @author  Eduardo Francos - InContext
 * @created 6 mai 2002
 * @version <$CURRENT_VERSION$>
 */
public class DiamondFigureGeometricAdapter extends DiamondFigure
		 implements GeometricFigure {

	/**
	 * Constructor for the DiamondFigureGeometricAdapter object
	 */
	public DiamondFigureGeometricAdapter() {
		super();
	}

	/**
	 *Constructor for the DiamondFigureGeometricAdapter object
	 *
	 * @param origin  Description of the Parameter
	 * @param corner  Description of the Parameter
	 */
	public DiamondFigureGeometricAdapter(Point origin, Point corner) {
		super(origin, corner);
	}

	/**
	 * Gets the shape attribute of the DiamondFigure object
	 *
	 * @return   The shape value
	 */
	public Shape getShape() {
		return getPolygon();
	}
}
