.. 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.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.svg" 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="A gradient is a method used to fade from one color to another, either" alt="" coords="5,5,253,34"/> </map> 
   </p>
   </div>

|


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

================================================================================ ================================================================================
:attr:`~wx.svg._nanosvg.SVGgradient.fx`                                          SVGgradient.fx: float
:attr:`~wx.svg._nanosvg.SVGgradient.fy`                                          SVGgradient.fy: float
:attr:`~wx.svg._nanosvg.SVGgradient.spread`                                      SVGgradient.spread: int
: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`                                       SVGgradient.xform: list
================================================================================ ================================================================================


|


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


.. class:: SVGgradient(object)

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

   .. attribute:: fx

      SVGgradient.fx: float


   .. attribute:: fy

      SVGgradient.fy: float


   .. attribute:: spread

      SVGgradient.spread: int


   .. attribute:: stops

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


   .. attribute:: xform

      SVGgradient.xform: list
      
      The gradient's transform


