.. 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
Inheritance diagram for class
SVGgradient:
|
|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