SaveMap
From CMSC 420
Saves the current map to a file. The image file should be saved with the correct name. It should match our image file: same dimensions, same cities, same colors, same partitions, etc. Roads should be drawn as black (java.awt.Color.BLACK) line segments. Everything else from Part 1 will be the same (e.g. Cities should be drawn as black (java.awt.Color.BLACK) named points) with one exception: To differentiate from Roads, quadtree partitions should now be gray (java.awt.Color.GRAY) crosses.
Parameters[edit]
- name (filename to save the image to)
Possible <output>[edit]
- (None)
Possible <error> types[edit]
- (None)
<success> Example[edit]
<success>
<command name="saveMap"/>
<parameters>
<name value="map_1"/>
</parameters>
<output/>
</success>