Class pyglet.image.ImagePattern

Known Subclasses:
CheckerImagePattern, SolidColorImagePattern
Abstract image creation class.

Methods

AbstractImage create_image(width, height)
Create an image of the given size.

Method Details

create_image

create_image(width, height)
Create an image of the given size.
Parameters:
width : int
Width of image to create
height : int
Height of image to create
Returns: AbstractImage