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 onHPlotcanvas. Use USER or NDC coordinate system.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddoc()Show online documentation.java.lang.StringtoString()-
Methods inherited from class jhplot.shapes.HShape
contains, getColor, getFill, getPosition, getPositionCoordinate, getRotation, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setRotation, setStroke, setTransparency, setWhoAm, updateSettings
-
-
-
-
Constructor Detail
-
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG