jhplot.shapes
Class Rectan
java.lang.Object
jhplot.shapes.HShape
jhplot.shapes.Rectan
public class Rectan
- extends HShape
Draw a rectangle using the user or NDC coordinate system
Constructor Summary |
Rectan(double X1,
double Y1,
double X2,
double Y2)
Build a rectangle. |
Rectan(double X1,
double Y1,
double X2,
double Y2,
java.awt.Stroke strock,
java.awt.Color color)
Build a rectangle |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class jhplot.shapes.HShape |
contains, getColor, getFill, getPosition, getPositionCoordinate, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setStroke, setTransparency, setWhoAm, updateSettings |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rectan
public Rectan(double X1,
double Y1,
double X2,
double Y2,
java.awt.Stroke strock,
java.awt.Color color)
- Build a rectangle
- Parameters:
X1
- X start positionY1
- Y start positionX2
- widthY2
- Y hightstrock
- Stroke to draw itcolor
- Color
Rectan
public Rectan(double X1,
double Y1,
double X2,
double Y2)
- Build a rectangle. Color is black, a deafult stroke.
- Parameters:
X1
- X start positionY1
- Y start positionX2
- widthY2
- hight
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- a string representation of this label, the text.
jHepWork 1.1 (C) Chekanov