jhplot.shapes
Class Rectan
java.lang.Object
jhplot.shapes.HShape
jhplot.shapes.Rectan
- All Implemented Interfaces:
- java.io.Serializable
public class Rectan
- extends HShape
Draw a rectangle using the user or NDC coordinate system
- See Also:
- Serialized Form
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 |
void |
doc()
Show online documentation. |
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, setPositionCoordinate, 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.
doc
public void doc()
- Show online documentation.
jHepWork 2.8 (©) S.Chekanov