Package mapproxy :: Package core :: Module image :: Class ExceptionImage
[hide private]
[frames] | no frames]

Class ExceptionImage

source code

  object --+    
           |    
MessageImage --+
               |
              ExceptionImage

Image for exceptions.
Instance Methods [hide private]
 
__init__(self, message, format='png', bgcolor='#000000', transparent=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
new_image(self, size) source code
 
text_box(self, _img, draw) source code
 
draw_msg(self, msg_img, draw) source code

Inherited from MessageImage: draw, merge_msg, text_size

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  font_name = 'default'
the font name for the text
  font_size = 9
the font size of the text
Instance Variables [hide private]

Inherited from MessageImage: box_color

Properties [hide private]
  font_color
the color of the font as a tuple

Inherited from MessageImage: font

Inherited from object: __class__

Method Details [hide private]

__init__(self, message, format='png', bgcolor='#000000', transparent=False)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

new_image(self, size)

source code 
Overrides: MessageImage.new_image

text_box(self, _img, draw)

source code 
Overrides: MessageImage.text_box

draw_msg(self, msg_img, draw)

source code 
Overrides: MessageImage.draw_msg

Property Details [hide private]

font_color

the color of the font as a tuple
Get Method:
unreachable.font_color(self)