Package arcmap :: Module mapio :: Class MapWriter
[hide private]
[frames] | no frames]

Class MapWriter

source code

Known Subclasses:

Instance Methods [hide private]
 
__init__(self, fileName)
Brief Description
source code
 
getFileName(self) source code
 
finish(self)
Finish writing the map.
source code
 
writeInfo(width, height, tileSize, name, description) source code
 
writeLayers(self, layers)
Brief Description
source code
 
writeShapes(self, shapes)
Brief Description
source code
 
writeBackgrounds(self, backgrounds, color)
Brief Description
source code
 
writeImages(self, images)
Writes images to the file
source code
Static Methods [hide private]
 
getWriter(fileName)
Modify this function when adding a new output class
source code
Method Details [hide private]

__init__(self, fileName)
(Constructor)

source code 

Brief Description

Parameters:
  • fileName (string) - Placeholder

getWriter(fileName)
Static Method

source code 

Modify this function when adding a new output class

Parameters:
  • fileName (string) - thre name of the file that the map will be saved to

writeInfo(width, height, tileSize, name, description)

source code 
Parameters:
  • width (placeholder) - placeholder
  • height (placeholder) - placeholder
  • tileSize (placeholder) - placeholder
  • name (placeholder) - placeholder
  • description (placeholder) - placeholder

writeLayers(self, layers)

source code 

Brief Description

Parameters:
  • layers (Layer[]) - Placeholder

writeShapes(self, shapes)

source code 

Brief Description

Parameters:
  • shapes (Shape[]) - Placeholder

writeBackgrounds(self, backgrounds, color)

source code 

Brief Description

Parameters:
  • backgrounds (Parallax[]) - Placeholder
  • color (graphics.RGBA) - the background fill color

writeImages(self, images)

source code 

Writes images to the file

Parameters:
  • images (string[]) - the images to write