Package motherhamster :: Module prettytext :: Class Image

Class Image



object --+
         |
        Image
Known Subclasses:
GlyphImage

an image that can be rendered

Instance Methods
 
__init__(self, surface, hotspot=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__del__(self)

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

Properties
  size
gets the default pixel size of the image for the asset
  width
gets the default pixel width of the image for the asset
  height
gets the default pixel height of the image for the asset

Inherited from object: __class__

Method Details

__init__(self, surface, hotspot=None)
(Constructor)

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

Property Details

size

gets the default pixel size of the image for the asset
Get Method:
motherhamster.prettytext.Image._get_size(self)

width

gets the default pixel width of the image for the asset
Get Method:
motherhamster.prettytext.Image._get_width(self)

height

gets the default pixel height of the image for the asset
Get Method:
motherhamster.prettytext.Image._get_height(self)