jpicedt.format.output.util
Class BaseEmptyDrawingBoundingBox
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
jpicedt.format.output.util.BaseEmptyDrawingBoundingBox
- All Implemented Interfaces:
- Shape, Cloneable
- Direct Known Subclasses:
- DXFEmptyDrawingBoundingBox, JPICEmptyDrawingBoundingBox, LatexEmptyDrawingBoundingBox, PstricksEmptyDrawingBoundingBox, TikzEmptyDrawingBoundingBox
public class BaseEmptyDrawingBoundingBox
- extends Rectangle2D
Boîte bornante par défaut pour un dessin vide.
- Since:
- jPicEdt 1.5.1
- Author:
- Vincent Belaïche
Methods inherited from class java.awt.geom.Rectangle2D |
add, add, add, contains, contains, equals, getBounds2D, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setRect, union |
Methods inherited from class java.awt.geom.RectangularShape |
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
BaseEmptyDrawingBoundingBox
public BaseEmptyDrawingBoundingBox()
getMinX
public double getMinX()
- Overrides:
getMinX
in class RectangularShape
getMinY
public double getMinY()
- Overrides:
getMinY
in class RectangularShape
getMaxX
public double getMaxX()
- Overrides:
getMaxX
in class RectangularShape
getMaxY
public double getMaxY()
- Overrides:
getMaxY
in class RectangularShape
createIntersection
public Rectangle2D createIntersection(Rectangle2D other)
- Specified by:
createIntersection
in class Rectangle2D
createUnion
public Rectangle2D createUnion(Rectangle2D other)
- Specified by:
createUnion
in class Rectangle2D
outcode
public int outcode(double x,
double y)
- Specified by:
outcode
in class Rectangle2D
setRect
public void setRect(double x1,
double y1,
double w,
double h)
- Specified by:
setRect
in class Rectangle2D
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class RectangularShape
setFrame
public void setFrame(double x,
double y,
double w,
double h)
- Overrides:
setFrame
in class Rectangle2D
getHeight
public double getHeight()
- Specified by:
getHeight
in class RectangularShape
getWidth
public double getWidth()
- Specified by:
getWidth
in class RectangularShape
getX
public double getX()
- Specified by:
getX
in class RectangularShape
getY
public double getY()
- Specified by:
getY
in class RectangularShape
Submit a bug : syd@jpicedt.org