This class defines how to fill or stroke a shape when rendering the SVG image. In other words, how to create the pen or brush. It can be a solid color, linear or radial gradients, etc.
|
|
Returns color as a RGBA tuple |
|
|
|
Flag indicating the type of paint info, solid color or type of gradient |
SVGpaint
(object)¶This class defines how to fill or stroke a shape when rendering the SVG image. In other words, how to create the pen or brush. It can be a solid color, linear or radial gradients, etc.
color_rgba
¶Returns color as a RGBA tuple
type
¶Flag indicating the type of paint info, solid color or type of gradient