http://www.jpicedt.org

jpicedt.format.output.util
Class BaseEmptyDrawingBoundingBox

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
BaseEmptyDrawingBoundingBox()
           
 
Method Summary
 Rectangle2D createIntersection(Rectangle2D other)
           
 Rectangle2D createUnion(Rectangle2D other)
           
 double getHeight()
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 boolean isEmpty()
           
 int outcode(double x, double y)
           
 void setFrame(double x, double y, double w, double h)
           
 void setRect(double x1, double y1, double w, double h)
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseEmptyDrawingBoundingBox

public BaseEmptyDrawingBoundingBox()
Method Detail

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

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org