Class UPath
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.UPath
-
- All Implemented Interfaces:
Iterable<USegment>
,Shadowable
,UShape
,UShapeIgnorableForCompression
public class UPath extends Object implements Iterable<USegment>, UShapeIgnorableForCompression
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(double[] coord, USegmentType pathType)
void
arcTo(double rx, double ry, double x_axis_rotation, double large_arc_flag, double sweep_flag, double x, double y)
void
arcTo(Point2D pt, double radius, double large_arc_flag, double sweep_flag)
void
closePath()
void
cubicTo(double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
void
cubicTo(Point2D p1, Point2D p2, Point2D p)
void
drawWhenCompressed(UGraphic ug, CompressionMode mode)
String
getCodeLine()
String
getComment()
double
getDeltaShadow()
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
boolean
isEmpty()
boolean
isIgnoreForCompressionOn(CompressionMode mode)
boolean
isOpenIconic()
Iterator<USegment>
iterator()
void
lineTo(double x, double y)
void
lineTo(Point2D pt)
void
moveTo(double x, double y)
void
moveTo(Point2D pt)
void
quadTo(double ctrlx, double ctrly, double x2, double y2)
void
quadTo(Point2D ctrl, Point2D pt)
UPath
rotate(double theta)
void
setDeltaShadow(double deltaShadow)
void
setIgnoreForCompressionOnX()
void
setIgnoreForCompressionOnY()
void
setOpenIconic(boolean isOpenIconic)
String
toString()
UPath
translate(double dx, double dy)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
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(Point2D pt)
-
lineTo
public void lineTo(Point2D pt)
-
moveTo
public void moveTo(double x, double y)
-
lineTo
public void lineTo(double x, double y)
-
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)
-
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(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()
-
isOpenIconic
public boolean isOpenIconic()
-
setOpenIconic
public void setOpenIconic(boolean isOpenIconic)
-
getComment
public final String getComment()
-
getCodeLine
public final String getCodeLine()
-
setIgnoreForCompressionOnX
public void setIgnoreForCompressionOnX()
-
setIgnoreForCompressionOnY
public void setIgnoreForCompressionOnY()
-
drawWhenCompressed
public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
- Specified by:
drawWhenCompressed
in interfaceUShapeIgnorableForCompression
-
isIgnoreForCompressionOn
public boolean isIgnoreForCompressionOn(CompressionMode mode)
- Specified by:
isIgnoreForCompressionOn
in interfaceUShapeIgnorableForCompression
-
getDeltaShadow
public double getDeltaShadow()
- Specified by:
getDeltaShadow
in interfaceShadowable
-
setDeltaShadow
public void setDeltaShadow(double deltaShadow)
- Specified by:
setDeltaShadow
in interfaceShadowable
-
-