net.sourceforge.plantuml.ugraphic
Class UPath
java.lang.Object
net.sourceforge.plantuml.ugraphic.UPath
- All Implemented Interfaces:
- Iterable<USegment>, Shadowable, UShape
public class UPath
- extends Object
- implements Iterable<USegment>
Constructor Summary |
UPath()
|
Method Summary |
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 |
closePath()
|
void |
cubicTo(double ctrlx1,
double ctrly1,
double ctrlx2,
double ctrly2,
double x2,
double y2)
|
double |
getDeltaShadow()
|
double |
getMaxX()
|
double |
getMaxY()
|
double |
getMinX()
|
double |
getMinY()
|
boolean |
isOpenIconic()
|
Iterator<USegment> |
iterator()
|
void |
lineTo(double x,
double y)
|
void |
moveTo(double x,
double y)
|
void |
setDeltaShadow(double deltaShadow)
|
void |
setOpenIconic(boolean isOpenIconic)
|
String |
toString()
|
UPath
public UPath()
add
public void add(double[] coord,
USegmentType pathType)
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)
arcTo
public void arcTo(double rx,
double ry,
double x_axis_rotation,
double large_arc_flag,
double sweep_flag,
double x,
double y)
closePath
public void closePath()
getMaxX
public double getMaxX()
getMaxY
public double getMaxY()
getMinX
public double getMinX()
getMinY
public double getMinY()
toString
public String toString()
- Overrides:
toString
in class Object
iterator
public Iterator<USegment> iterator()
- Specified by:
iterator
in interface Iterable<USegment>
isOpenIconic
public boolean isOpenIconic()
setOpenIconic
public void setOpenIconic(boolean isOpenIconic)
getDeltaShadow
public double getDeltaShadow()
- Specified by:
getDeltaShadow
in interface Shadowable
setDeltaShadow
public void setDeltaShadow(double deltaShadow)
- Specified by:
setDeltaShadow
in interface Shadowable
Copyright © 2014. All Rights Reserved.