phoenix_title wx.lib.graphics.GraphicsGradientStops

An ordered collection of gradient color stops (i.e. a GraphicsGradientStop) for a gradient brush. There is always at least the starting stop and the ending stop in the collection.


class_hierarchy Class Hierarchy

Inheritance diagram for class GraphicsGradientStops:

method_summary Methods Summary

__init__

Initialize self. See help(type(self)) for accurate signature.

Add

Add a new color to the collection. args may be either a gradient stop,

GetCount

GetEndColour

GetStartColour

Item

SetEndColour

SetStartColour


property_summary Properties Summary

Count

EndColour

StartColour


api Class API

class GraphicsGradientStops(object)

An ordered collection of gradient color stops (i.e. a GraphicsGradientStop) for a gradient brush. There is always at least the starting stop and the ending stop in the collection.


Methods

__init__(self, startColour=wx.TransparentColour, endColour=wx.TransparentColour)

Initialize self. See help(type(self)) for accurate signature.



Add(self, \*args)

Add a new color to the collection. args may be either a gradient stop, or a colour and position.



GetCount(self)


GetEndColour(self)


GetStartColour(self)


Item(self, n)


SetEndColour(self, col)


SetStartColour(self, col)

Properties

Count

See GetCount



EndColour

See SetEndColour , GetEndColour



StartColour

See SetStartColour , GetStartColour