Table of Contents

Class: Image pdfmap.py

For objects represented by images on the map.

Base Classes   
MapObject
Methods   
__init__
draw
realDraw
  __init__ 
__init__ (
        self,
        mappdf,
        dummy,
        imagename,
        mask="auto",
        )

Initializes an image Map object.

mappdf : the PDF Map object

dummy : unused, but provides a constructor consistent with other MapObjects

imagename : image name or directory name

mask : either "auto" or a color tuple or empty (which means "auto" too) represents the color to mask in the image (the transparent color)

  draw 
draw ( self,  message )

Represents the object as an error message when something went wrong.

  realDraw 
realDraw ( self )

Really draws the image object on the PDF map.


Table of Contents

This document was automatically generated on Mon Apr 15 15:20:55 2002 by HappyDoc version 2.0