Revision 28 trunk/libraries/libCq CMS for java.old/src/org/cresques/px/dxf/DxfPolyline.java
DxfPolyline.java | ||
---|---|---|
31 | 31 |
Vector pts = null; |
32 | 32 |
GeneralPath gp = null; |
33 | 33 |
int flags = 0; |
34 |
boolean closed = false; |
|
34 | 35 |
|
35 | 36 |
public DxfPolyline(Projection proj, DxfLayer layer) { |
36 | 37 |
super(proj, layer); |
... | ... | |
92 | 93 |
} |
93 | 94 |
//pt = pt1; |
94 | 95 |
} |
95 |
//gp.closePath(); |
|
96 |
if (closed) { |
|
97 |
//gp.closePath(); |
|
98 |
} |
|
96 | 99 |
} |
97 | 100 |
|
98 | 101 |
/** |
... | ... | |
128 | 131 |
newGP(); |
129 | 132 |
return (GeneralPath) gp.clone(); |
130 | 133 |
} |
134 |
|
|
135 |
public int getFlags() { |
|
136 |
return flags; |
|
137 |
} |
|
138 |
|
|
131 | 139 |
} |
Also available in: Unified diff