Max 5 API Reference
A pattern is like a brush that is used to fill a path with. More...
|typedef struct _jpattern||t_jpattern|
|An instance of a jgraphics pattern. |
A pattern is like a brush that is used to fill a path with.
It could be a solid color but it could also be an image. You can draw to a surface and then from that surface create a pattern that can be used to fill another surface. For example, jgraphics_patter_create_for_surface(). There are also gradients: see jgraphics_pattern_create_linear() and jgraphics_pattern_create_radial().