Class ULine
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.AbstractShadowable
-
- net.sourceforge.plantuml.klimt.shape.ULine
-
- All Implemented Interfaces:
Shadowable,UShape,UShapeSized
public class ULine extends AbstractShadowable implements UShapeSized
-
-
Constructor Summary
Constructors Constructor Description ULine(double dx, double dy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ULinecreate(XPoint2D p1, XPoint2D p2)doublegetDX()doublegetDY()doublegetHeight()doublegetLength()doublegetWidth()static ULinehline(double dx)ULinerotate(double theta)java.lang.StringtoString()static ULinevline(double dy)-
Methods inherited from class net.sourceforge.plantuml.klimt.AbstractShadowable
getDeltaShadow, setDeltaShadow
-
-
-
-
Method Detail
-
rotate
public ULine rotate(double theta)
-
hline
public static ULine hline(double dx)
-
vline
public static ULine vline(double dy)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDX
public double getDX()
-
getDY
public double getDY()
-
getLength
public double getLength()
-
getWidth
public double getWidth()
- Specified by:
getWidthin interfaceUShapeSized
-
getHeight
public double getHeight()
- Specified by:
getHeightin interfaceUShapeSized
-
-