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, setDeltaShadow
public 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.Object
public double getDX()
public double getDY()
public double getLength()
public double getWidth()
getWidth
in interface UShapeSized
public double getHeight()
getHeight
in interface UShapeSized