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