Beispiel #1
0
 public UPath translate(double dx, double dy) {
   final UPath result = new UPath();
   for (USegment seg : segments) {
     result.addInternal(seg.translate(dx, dy));
   }
   return result;
 }
Beispiel #2
0
 public UPath rotate(double theta) {
   final UPath result = new UPath();
   for (USegment seg : segments) {
     result.addInternal(seg.rotate(theta));
   }
   return result;
 }
Beispiel #3
0
 public void add(double[] coord, USegmentType pathType) {
   addInternal(new USegment(coord, pathType));
 }