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