List of all members.
Detailed Description
An object that collects all the properties used to generate a
checkerboard sprite.
:param width: width of the checkerboard in pixels
:param height: height of the checkerboard in pixels
:param x_tiles: total number of horizontal checks
:param y_tiles: total number of vertical checks
:param x_ratio: width ratio between alternating checks
:param y_ratio: height ratio between alternating checks
:param color1: RGB color of one set of checks
:param color2: RGB color of the other set of checks
Member Function Documentation
def unlock.view.pyglet_sprite.CheckerboardProperties.__init__ |
( |
|
self, |
|
|
|
width = 300 , |
|
|
|
height = 300 , |
|
|
|
x_tiles = 4 , |
|
|
|
y_tiles = 4 , |
|
|
|
x_ratio = 1 , |
|
|
|
y_ratio = 1 , |
|
|
|
color1 = (0, 0 , |
|
|
|
color2 = (255, 255 | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: