.. 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.SVGgradientStop:
==========================================================================================================================================
|phoenix_title| **wx.svg._nanosvg.SVGgradientStop**
==========================================================================================================================================
A Gradient stop is an offset and a color, which is used when drawing gradients.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
SVGgradientStop:
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.svg._nanosvg.SVGgradientStop.color` SVGgradientStop.color: uint
:attr:`~wx.svg._nanosvg.SVGgradientStop.color_rgba` SVGgradientStop.color_rgba: tuple
:attr:`~wx.svg._nanosvg.SVGgradientStop.offset` SVGgradientStop.offset: float
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: SVGgradientStop(object)
A Gradient stop is an offset and a color, which is used when drawing gradients.
.. attribute:: color
SVGgradientStop.color: uint
.. attribute:: color_rgba
SVGgradientStop.color_rgba: tuple
Returns color as a RGBA tuple
.. attribute:: offset
SVGgradientStop.offset: float