Table Of Contents

Previous topic

GraphicsFont

Next topic

GraphicsGradientStops

This Page

phoenix_title GraphicsGradientStop

This class represents a single color-stop in a gradient brush. The position is a floating poitn value between zero and 1.0 which represents the distance between the gradient’s starting point and ending point.


class_hierarchy Inheritance Diagram

Inheritance diagram for class GraphicsGradientStop

Inheritance diagram of 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 poitn value between zero and 1.0 which represents the distance between the gradient’s starting point and ending point.


Methods



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


GetColour(self)


GetPosition(self)


SetColour(self, value)


SetPosition(self, value)

Properties



Colour

See SetColour , GetColour



Position

See SetPosition , GetPosition