public class UPath extends AbstractShadowable implements java.lang.Iterable<USegment>, UShapeIgnorableForCompression
Constructor and Description |
---|
UPath(java.lang.String comment,
java.lang.String codeLine) |
Modifier and Type | Method and Description |
---|---|
void |
add(double[] coord,
USegmentType pathType) |
UPath |
affine(java.awt.geom.AffineTransform transform,
double angle,
double scale) |
void |
arcTo(double rx,
double ry,
double x_axis_rotation,
double large_arc_flag,
double sweep_flag,
double x,
double y) |
void |
arcTo(XPoint2D 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(XPoint2D p1,
XPoint2D p2,
XPoint2D p) |
void |
drawWhenCompressed(UGraphic ug,
CompressionMode mode) |
java.lang.String |
getCodeLine() |
java.lang.String |
getComment() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
boolean |
isEmpty() |
boolean |
isIgnoreForCompressionOn(CompressionMode mode) |
boolean |
isOpenIconic() |
java.util.Iterator<USegment> |
iterator() |
void |
lineTo(double x,
double y) |
void |
lineTo(XPoint2D pt) |
void |
moveTo(double x,
double y) |
void |
moveTo(XPoint2D pt) |
static UPath |
none() |
void |
quadTo(double ctrlx,
double ctrly,
double x2,
double y2) |
void |
quadTo(XPoint2D ctrl,
XPoint2D pt) |
UPath |
rotate(double theta) |
void |
setIgnoreForCompressionOnX() |
void |
setIgnoreForCompressionOnY() |
void |
setOpenIconic(boolean isOpenIconic) |
java.lang.String |
toString() |
UPath |
translate(double dx,
double dy) |
getDeltaShadow, setDeltaShadow
public static UPath none()
public void add(double[] coord, USegmentType pathType)
public boolean isEmpty()
public UPath translate(double dx, double dy)
public UPath rotate(double theta)
public UPath affine(java.awt.geom.AffineTransform transform, double angle, double scale)
public void moveTo(XPoint2D pt)
public void lineTo(XPoint2D pt)
public void moveTo(double x, double y)
public void lineTo(double x, double y)
public void cubicTo(double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
public void quadTo(double ctrlx, double ctrly, double x2, double y2)
public void arcTo(double rx, double ry, double x_axis_rotation, double large_arc_flag, double sweep_flag, double x, double y)
public void arcTo(XPoint2D pt, double radius, double large_arc_flag, double sweep_flag)
public void closePath()
public double getMaxX()
public double getMaxY()
public double getMinX()
public double getMinY()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Iterator<USegment> iterator()
iterator
in interface java.lang.Iterable<USegment>
public boolean isOpenIconic()
public void setOpenIconic(boolean isOpenIconic)
public final java.lang.String getComment()
public final java.lang.String getCodeLine()
public void setIgnoreForCompressionOnX()
public void setIgnoreForCompressionOnY()
public void drawWhenCompressed(UGraphic ug, CompressionMode mode)
drawWhenCompressed
in interface UShapeIgnorableForCompression
public boolean isIgnoreForCompressionOn(CompressionMode mode)
isIgnoreForCompressionOn
in interface UShapeIgnorableForCompression