001/*
002 * Copyright 2010-2015 Institut Pasteur.
003 * 
004 * This file is part of Icy.
005 * 
006 * Icy is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU General Public License as published by
008 * the Free Software Foundation, either version 3 of the License, or
009 * (at your option) any later version.
010 * 
011 * Icy is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014 * GNU General Public License for more details.
015 * 
016 * You should have received a copy of the GNU General Public License
017 * along with Icy. If not, see <http://www.gnu.org/licenses/>.
018 */
019package icy.roi;
020
021import java.awt.geom.Ellipse2D;
022import java.awt.geom.Point2D;
023import java.awt.geom.Rectangle2D;
024
025/**
026 * @deprecated Use {@link plugins.kernel.roi.roi2d.ROI2DEllipse} instead.
027 */
028@Deprecated
029public class ROI2DEllipse extends plugins.kernel.roi.roi2d.ROI2DEllipse
030{
031    /**
032     * @deprecated
033     */
034    @Deprecated
035    public ROI2DEllipse(Point2D topLeft, Point2D bottomRight, boolean cm)
036    {
037        super(topLeft, bottomRight);
038    }
039
040    public ROI2DEllipse(Point2D topLeft, Point2D bottomRight)
041    {
042        super(topLeft, bottomRight);
043    }
044
045    /**
046     * Create a ROI ellipse from its rectangular bounds.
047     */
048    public ROI2DEllipse(double xmin, double ymin, double xmax, double ymax)
049    {
050        super(xmin, ymin, xmax, ymax);
051    }
052
053    /**
054     * @deprecated
055     */
056    @Deprecated
057    public ROI2DEllipse(Rectangle2D rectangle, boolean cm)
058    {
059        super(rectangle);
060    }
061
062    public ROI2DEllipse(Rectangle2D rectangle)
063    {
064        super(rectangle);
065    }
066
067    public ROI2DEllipse(Ellipse2D ellipse)
068    {
069        super(ellipse);
070    }
071
072    /**
073     * @deprecated
074     */
075    @Deprecated
076    public ROI2DEllipse(Point2D pt, boolean cm)
077    {
078        super(pt);
079    }
080
081    public ROI2DEllipse(Point2D pt)
082    {
083        super(pt);
084    }
085
086    public ROI2DEllipse()
087    {
088        super();
089    }
090}