public class ULine extends AbstractShadowable implements UShapeSized
| Constructor and Description |
|---|
ULine(double dx,
double dy) |
| Modifier and Type | Method and Description |
|---|---|
static ULine |
create(XPoint2D p1,
XPoint2D p2) |
double |
getDX() |
double |
getDY() |
double |
getHeight() |
double |
getLength() |
double |
getWidth() |
static ULine |
hline(double dx) |
ULine |
rotate(double theta) |
java.lang.String |
toString() |
static ULine |
vline(double dy) |
getDeltaShadow, setDeltaShadowpublic ULine rotate(double theta)
public static ULine hline(double dx)
public static ULine vline(double dy)
public java.lang.String toString()
toString in class java.lang.Objectpublic double getDX()
public double getDY()
public double getLength()
public double getWidth()
getWidth in interface UShapeSizedpublic double getHeight()
getHeight in interface UShapeSized