phoenix_title wx.svg._nanosvg.SVGpaint

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.


class_hierarchy Class Hierarchy

Inheritance diagram for class SVGpaint:

property_summary Properties Summary

color

SVGpaint.color: uint

color_rgba

SVGpaint.color_rgba: tuple

gradient

SVGpaint.gradient: SVGgradient

type

SVGpaint.type: SVGpaintType


api Class API

class 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.


Properties

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