jhplot.shapes
Class Rectan
java.lang.Object
jhplot.shapes.HShape
jhplot.shapes.Rectan
- All Implemented Interfaces:
- Serializable
public class Rectan
- extends HShape
Draw a rectangle using the user or NDC coordinate system
- Author:
- S.Chekanov
- 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,
Stroke strock,
Color color)
Build a rectangle |
| 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 |
Rectan
public Rectan(double X1,
double Y1,
double X2,
double Y2,
Stroke strock,
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 String toString()
- Overrides:
toString in class Object
- Returns:
- a string representation of this label, the text.
doc
public void doc()
- Show online documentation.
jHPlot 3.1. Java environment for scientific computation and data analysis. © S.Chekanov