Class ULine

java.lang.Object
net.sourceforge.plantuml.ugraphic.ULine
All Implemented Interfaces:
Shadowable, UShape, UShapeSized

public class ULine extends java.lang.Object implements UShapeSized
  • Constructor Summary

    Constructors
    Constructor
    Description
    ULine(double dx, double dy)
     
    ULine(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    double
     
    double
     
    double
     
    static ULine
    hline(double dx)
     
    void
    setDeltaShadow(double deltaShadow)
     
    java.lang.String
     
    static ULine
    vline(double dy)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ULine

      public ULine(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
    • ULine

      public ULine(double dx, double dy)
  • Method Details

    • hline

      public static ULine hline(double dx)
    • vline

      public static ULine vline(double dy)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getDX

      public double getDX()
    • getDY

      public double getDY()
    • getLength

      public double getLength()
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in interface UShapeSized
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in interface UShapeSized
    • getDeltaShadow

      public double getDeltaShadow()
      Specified by:
      getDeltaShadow in interface Shadowable
    • setDeltaShadow

      public void setDeltaShadow(double deltaShadow)
      Specified by:
      setDeltaShadow in interface Shadowable