.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.svg._nanosvg

.. highlight:: python



.. _wx.svg._nanosvg.SVGgradient:

==========================================================================================================================================
|phoenix_title|  **wx.svg._nanosvg.SVGgradient**
==========================================================================================================================================

A gradient is a method used to fade from one color to another, either
linearly or radially.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>SVGgradient</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.svg._nanosvg.SVGgradient_inheritance.png" alt="Inheritance diagram of SVGgradient" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.svg._nanosvg.SVGgradient.html" title="wx.svg._nanosvg.SVGgradient" alt="" coords="5,5,224,35"/> </map> 
   </p>
   </div>

|


|property_summary| Properties Summary
=====================================

================================================================================ ================================================================================
:attr:`~wx.svg._nanosvg.SVGgradient.fx`                                          
:attr:`~wx.svg._nanosvg.SVGgradient.fy`                                          
:attr:`~wx.svg._nanosvg.SVGgradient.spread`                                      
:attr:`~wx.svg._nanosvg.SVGgradient.stops`                                       A generator that iterates over the :class:`SVGgradientStop` objects contained in the SVGgradient
:attr:`~wx.svg._nanosvg.SVGgradient.xform`                                       The gradient's transform
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: SVGgradient(object)

   A gradient is a method used to fade from one color to another, either
   linearly or radially.

   .. attribute:: stops

      A generator that iterates over the :class:`SVGgradientStop` objects contained in the SVGgradient


   .. attribute:: xform

      The gradient's transform


