Trees | Indices | Help |
---|
|
Concrete class representing a bitmap that is placed at multiple locations on an image. Each Glyph has an image and a basepoint offset (which defaults to its center). The image is RGBA, so pixels may be made transparent.
By default, a Glyph contains a blue cross of the specified size, with lines 3 pixels wide. With size 5, this makes a good circular dot.
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a glyph of the specified size and color. INPUTS: size -- number or pair -- size of glyph image ATTRIBUTES: .ofs -- len 2 -- offset of basepoint into image .img -- pygame image of size size, mode RGBA -- the Glyph itself
|
Put copies of the image at the specified points on the surface INPUTS: surf -- pygame.Surface to draw on x,y -- sequences of equal length of x and y coordinates |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jan 4 16:46:17 2018 | http://epydoc.sourceforge.net |