Class USegment

java.lang.Object
net.sourceforge.plantuml.ugraphic.USegment

public class USegment extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    USegment(double[] coord, USegmentType pathType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final double[]
     
     
    rotate(double theta)
     
    java.lang.String
     
    translate(double dx, double dy)
     

    Methods inherited from class java.lang.Object

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

    • USegment

      public USegment(double[] coord, USegmentType pathType)
  • Method Details

    • toString

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

      public final double[] getCoord()
    • getSegmentType

      public final USegmentType getSegmentType()
    • translate

      public USegment translate(double dx, double dy)
    • rotate

      public USegment rotate(double theta)