| java.lang.Object java.awt.geom.RectangularShape de.progra.charting.render.shape.Triangle2D
Triangle2D | public class Triangle2D extends RectangularShape (Code) | | This class implements a triangular shape.
author: smueller |
Field Summary | |
protected double | height | protected boolean | upsidedown | protected double | width | protected double | x | protected double | y |
Constructor Summary | |
public | Triangle2D(double x, double y, double width, double height, boolean upsidedown) |
Method Summary | |
public boolean | contains(double param, double param1) | public boolean | contains(double param, double param1, double param2, double param3) | public Rectangle2D | getBounds2D() | public double | getHeight() | public PathIterator | getPathIterator(AffineTransform affineTransform) | public double | getWidth() | public double | getX() | public double | getY() | public boolean | intersects(double x, double y, double w, double h) | public boolean | isEmpty() | public void | setFrame(double x, double y, double width, double height) |
height | protected double height(Code) | | |
upsidedown | protected boolean upsidedown(Code) | | |
width | protected double width(Code) | | |
Triangle2D | public Triangle2D(double x, double y, double width, double height, boolean upsidedown)(Code) | | Creates a new instance of Triangle2D
|
contains | public boolean contains(double param, double param1)(Code) | | |
contains | public boolean contains(double param, double param1, double param2, double param3)(Code) | | |
getHeight | public double getHeight()(Code) | | |
getWidth | public double getWidth()(Code) | | |
getX | public double getX()(Code) | | |
getY | public double getY()(Code) | | |
intersects | public boolean intersects(double x, double y, double w, double h)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
setFrame | public void setFrame(double x, double y, double width, double height)(Code) | | |
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)
|
|
|