Class UPath

java.lang.Object
net.sourceforge.plantuml.ugraphic.UPath
All Implemented Interfaces:
java.lang.Iterable<USegment>, Shadowable, UShape, UShapeIgnorableForCompression

public class UPath extends java.lang.Object implements java.lang.Iterable<USegment>, UShapeIgnorableForCompression
  • Constructor Details

    • UPath

      public UPath(java.lang.String comment, java.lang.String codeLine)
    • UPath

      public UPath()
  • Method Details

    • add

      public void add(double[] coord, USegmentType pathType)
    • isEmpty

      public boolean isEmpty()
    • translate

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

      public UPath rotate(double theta)
    • moveTo

      public void moveTo(java.awt.geom.Point2D pt)
    • lineTo

      public void lineTo(java.awt.geom.Point2D pt)
    • moveTo

      public void moveTo(double x, double y)
    • lineTo

      public void lineTo(double x, double y)
    • cubicTo

      public void cubicTo(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.geom.Point2D p)
    • cubicTo

      public void cubicTo(double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
    • quadTo

      public void quadTo(double ctrlx, double ctrly, double x2, double y2)
    • quadTo

      public void quadTo(java.awt.geom.Point2D ctrl, java.awt.geom.Point2D pt)
    • arcTo

      public void arcTo(double rx, double ry, double x_axis_rotation, double large_arc_flag, double sweep_flag, double x, double y)
    • arcTo

      public void arcTo(java.awt.geom.Point2D pt, double radius, double large_arc_flag, double sweep_flag)
    • closePath

      public void closePath()
    • getMaxX

      public double getMaxX()
    • getMaxY

      public double getMaxY()
    • getMinX

      public double getMinX()
    • getMinY

      public double getMinY()
    • toString

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

      public java.util.Iterator<USegment> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<USegment>
    • isOpenIconic

      public boolean isOpenIconic()
    • setOpenIconic

      public void setOpenIconic(boolean isOpenIconic)
    • getComment

      public final java.lang.String getComment()
    • getCodeLine

      public final java.lang.String getCodeLine()
    • setIgnoreForCompressionOnX

      public void setIgnoreForCompressionOnX()
    • setIgnoreForCompressionOnY

      public void setIgnoreForCompressionOnY()
    • drawWhenCompressed

      public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
      Specified by:
      drawWhenCompressed in interface UShapeIgnorableForCompression
    • isIgnoreForCompressionOn

      public boolean isIgnoreForCompressionOn(CompressionMode mode)
      Specified by:
      isIgnoreForCompressionOn in interface UShapeIgnorableForCompression
    • getDeltaShadow

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

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