| java.lang.Object java.awt.geom.RectangularShape de.progra.charting.render.shape.Diamond2D
Diamond2D | public class Diamond2D extends RectangularShape (Code) | | This class implements a diamond like Shape object.
author: mueller version: 1.0 |
Constructor Summary | |
public | Diamond2D(double x, double y, double width, double height) Creates a Diamond shape with the specified coordinates. |
Method Summary | |
public boolean | contains(double x, double y, double w, double h) | public boolean | contains(double x, double y) | public Rectangle2D | getBounds2D() | public double | getHeight() Returns the height. | public PathIterator | getPathIterator(AffineTransform at) Returns the object's PathIterator. | public double | getWidth() Returns the width. | public double | getX() Returns the x-coordinate. | public double | getY() Returns the y-coordinate. | public boolean | intersects(double x, double y, double w, double h) | public boolean | isEmpty() Returns true if the bounding box is empty. | public void | setFrame(double x, double y, double width, double height) Sets the framing rectangle. |
xywidthheight | protected double xywidthheight(Code) | | |
Diamond2D | public Diamond2D(double x, double y, double width, double height)(Code) | | Creates a Diamond shape with the specified coordinates.
|
contains | public boolean contains(double x, double y, double w, double h)(Code) | | |
contains | public boolean contains(double x, double y)(Code) | | |
getHeight | public double getHeight()(Code) | | Returns the height.
|
getWidth | public double getWidth()(Code) | | Returns the width.
|
getX | public double getX()(Code) | | Returns the x-coordinate.
|
getY | public double getY()(Code) | | Returns the y-coordinate.
|
intersects | public boolean intersects(double x, double y, double w, double h)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | Returns true if the bounding box is empty.
|
setFrame | public void setFrame(double x, double y, double width, double height)(Code) | | Sets the framing rectangle.
|
Methods inherited from java.awt.geom.RectangularShape | public Object clone()(Code)(Java Doc) public boolean contains(Point2D p)(Code)(Java Doc) public boolean contains(Rectangle2D r)(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public double getCenterX()(Code)(Java Doc) public double getCenterY()(Code)(Java Doc) public Rectangle2D getFrame()(Code)(Java Doc) abstract public double getHeight()(Code)(Java Doc) public double getMaxX()(Code)(Java Doc) public double getMaxY()(Code)(Java Doc) public double getMinX()(Code)(Java Doc) public double getMinY()(Code)(Java Doc) public PathIterator getPathIterator(AffineTransform at, double flatness)(Code)(Java Doc) abstract public double getWidth()(Code)(Java Doc) abstract public double getX()(Code)(Java Doc) abstract public double getY()(Code)(Java Doc) public boolean intersects(Rectangle2D r)(Code)(Java Doc) abstract public boolean isEmpty()(Code)(Java Doc) abstract public void setFrame(double x, double y, double w, double h)(Code)(Java Doc) public void setFrame(Point2D loc, Dimension2D size)(Code)(Java Doc) public void setFrame(Rectangle2D r)(Code)(Java Doc) public void setFrameFromCenter(double centerX, double centerY, double cornerX, double cornerY)(Code)(Java Doc) public void setFrameFromCenter(Point2D center, Point2D corner)(Code)(Java Doc) public void setFrameFromDiagonal(double x1, double y1, double x2, double y2)(Code)(Java Doc) public void setFrameFromDiagonal(Point2D p1, Point2D p2)(Code)(Java Doc)
|
|
|