Table Of Contents

Previous topic

GraphicsGradientStop

Next topic

GraphicsMatrix

This Page

phoenix_title GraphicsGradientStops

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class GraphicsGradientStops

Inheritance diagram of GraphicsGradientStops


method_summary Methods Summary

__init__  
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 for a gradient brush. There is always at least the starting stop and the ending stop in the collection.


Methods



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


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