.. 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.lib.graphics
.. highlight:: python
.. _wx.lib.graphics.GraphicsGradientStop:
==========================================================================================================================================
|phoenix_title| **wx.lib.graphics.GraphicsGradientStop**
==========================================================================================================================================
This class represents a single color-stop in a gradient brush. The
position is a floating point value between zero and 1.0 which represents
the distance between the gradient's starting point and ending point.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
GraphicsGradientStop:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.graphics.GraphicsGradientStop.__init__` Initialize self. See help(type(self)) for accurate signature.
:meth:`~wx.lib.graphics.GraphicsGradientStop.GetColour`
:meth:`~wx.lib.graphics.GraphicsGradientStop.GetPosition`
:meth:`~wx.lib.graphics.GraphicsGradientStop.SetColour`
:meth:`~wx.lib.graphics.GraphicsGradientStop.SetPosition`
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.lib.graphics.GraphicsGradientStop.Colour`
:attr:`~wx.lib.graphics.GraphicsGradientStop.Position`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: GraphicsGradientStop(object)
This class represents a single color-stop in a gradient brush. The
position is a floating point value between zero and 1.0 which represents
the distance between the gradient's starting point and ending point.
.. method:: __init__(self, colour=wx.TransparentColour, pos=0.0)
Initialize self. See help(type(self)) for accurate signature.
.. method:: GetColour(self)
.. method:: GetPosition(self)
.. method:: SetColour(self, value)
.. method:: SetPosition(self, value)
.. attribute:: Colour
See :meth:`~GraphicsGradientStop.SetColour` , :meth:`~GraphicsGradientStop.GetColour`
.. attribute:: Position
See :meth:`~GraphicsGradientStop.SetPosition` , :meth:`~GraphicsGradientStop.GetPosition`