Phoenix Logo

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

Inheritance diagram for class GraphicsGradientStop:


method_summary Methods Summary

__init__  
GetColour  
GetPosition  
SetColour  
SetPosition  

property_summary Properties Summary

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


Methods



__init__(self, colour=wx.TransparentColour, pos=0.0)


GetColour(self)


GetPosition(self)


SetColour(self, value)


SetPosition(self, value)

Properties



Colour

See SetColour , GetColour



Position

See SetPosition , GetPosition