Defined in pyglet.image
Create an image optionally filled with the given pattern.
Note: | You can make no assumptions about the return type; usually it will be ImageData or CompressedImageData, but patterns are free to return any subclass of AbstractImage. |
---|---|
Parameters: |
|
Return type: | AbstractImage |