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.Point2D;
022import java.awt.geom.Rectangle2D;
023
024/**
025 * @deprecated Use {@link plugins.kernel.roi.roi2d.ROI2DRectangle} instead.
026 */
027@Deprecated
028public class ROI2DRectangle extends plugins.kernel.roi.roi2d.ROI2DRectangle
029{
030    /**
031     * @deprecated
032     */
033    @Deprecated
034    public ROI2DRectangle(Point2D topLeft, Point2D bottomRight, boolean cm)
035    {
036        super(topLeft, bottomRight);
037    }
038
039    public ROI2DRectangle(Point2D topLeft, Point2D bottomRight)
040    {
041        super(topLeft, bottomRight);
042    }
043
044    public ROI2DRectangle(double xmin, double ymin, double xmax, double ymax)
045    {
046        super(xmin, ymin, xmax, ymax);
047    }
048
049    /**
050     * @deprecated
051     */
052    @Deprecated
053    public ROI2DRectangle(Rectangle2D rectangle, boolean cm)
054    {
055        super(rectangle);
056    }
057
058    public ROI2DRectangle(Rectangle2D rectangle)
059    {
060        super(rectangle);
061    }
062
063    /**
064     * @deprecated
065     */
066    @Deprecated
067    public ROI2DRectangle(Point2D pt, boolean cm)
068    {
069        super(pt);
070    }
071
072    public ROI2DRectangle(Point2D pt)
073    {
074        super(pt);
075    }
076
077    public ROI2DRectangle()
078    {
079        super();
080    }
081}