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.
SVGpaint.color: uint |
|
SVGpaint.color_rgba: tuple |
|
SVGpaint.gradient: SVGgradient |
|
SVGpaint.type: SVGpaintType |
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.
SVGpaint.color: uint
SVGpaint.color_rgba: tuple Returns color as a RGBA tuple
SVGpaint.gradient: SVGgradient
SVGpaint.type: SVGpaintType Flag indicating the type of paint info, solid color or type of gradient