Package muntjac :: Package addon :: Package invient :: Module gradient :: Class IGradient
[hide private]
[frames] | no frames]

Class IGradient

source code

  object --+    
           |    
paint.IPaint --+
               |
              IGradient
Known Subclasses:

The Gradient defines a way to fill a shape with a linear color gradient pattern.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
getxStart(self)
Returns the x-coordinate of a point at which linear gradient starts.
source code
 
getxStartUnit(self)
Returns the unit of x-coordinate of a point at which linear gradient starts.
source code
 
getyStart(self)
Returns the y-coordinate of a point at which linear gradient starts.
source code
 
getyStartUnit(self)
Returns the unit of y-coordinate of a point at which linear gradient starts.
source code
 
getxEnd(self)
Returns the x-coordinate of a point at which linear gradient ends.
source code
 
getxEndUnit(self)
Returns the unit of x-coordinate of a point at which linear gradient ends.
source code
 
getyEnd(self)
Returns the x-coordinate of a point at which linear gradient ends.
source code
 
getyEndUnit(self)
Returns the unit of y-coordinate of a point at which linear gradient ends.
source code
 
getColorStops(self)
Returns a list of colorstops associated with this gradient.
source code

Inherited from paint.IPaint: getString

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getxStart(self)

source code 
Returns the x-coordinate of a point at which linear gradient
        starts.
@return: the x-coordinate of a point at which linear gradient
        starts.

getxStartUnit(self)

source code 

Returns the unit of x-coordinate of a point at which linear gradient starts.

Returns:
the unit of x-coordinate of a point at which linear gradient starts.

getyStart(self)

source code 

Returns the y-coordinate of a point at which linear gradient starts.

Returns:
the y-coordinate of a point at which linear gradient starts.

getyStartUnit(self)

source code 

Returns the unit of y-coordinate of a point at which linear gradient starts.

Returns:
the unit of y-coordinate of a point at which linear gradient starts.

getxEnd(self)

source code 
Returns the x-coordinate of a point at which linear gradient
        ends.
@return: the x-coordinate of a point at which linear gradient
         ends.

getxEndUnit(self)

source code 

Returns the unit of x-coordinate of a point at which linear gradient ends.

Returns:
the unit of x-coordinate of a point at which linear gradient ends.

getyEnd(self)

source code 

Returns the x-coordinate of a point at which linear gradient ends.

Returns:
the x-coordinate of a point at which linear gradient ends.

getyEndUnit(self)

source code 

Returns the unit of y-coordinate of a point at which linear gradient ends.

Returns:
the unit of y-coordinate of a point at which linear gradient ends.

getColorStops(self)

source code 

Returns a list of colorstops associated with this gradient.

Returns:
a list of colorstops associated with this gradient.

See Also: IColorStop