.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.svg._nanosvg
.. highlight:: python
.. _wx.svg._nanosvg.SVGpaint:
==========================================================================================================================================
|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
=================================
.. raw:: html
Inheritance diagram for class
SVGpaint:
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.svg._nanosvg.SVGpaint.color`
:attr:`~wx.svg._nanosvg.SVGpaint.color_rgba` Returns color as a RGBA tuple
:attr:`~wx.svg._nanosvg.SVGpaint.gradient`
:attr:`~wx.svg._nanosvg.SVGpaint.type` Flag indicating the type of paint info, solid color or type of gradient
================================================================================ ================================================================================
|
|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.
.. attribute:: color_rgba
Returns color as a RGBA tuple
.. attribute:: type
Flag indicating the type of paint info, solid color or type of gradient