| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
paint.IPaint --+
|
IGradient --+
|
LinearGradient
Represents linear gradient where points of a linear gradient specify a line. For more details on gradient, refer to CSS 3 gradient documentation.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Creates a LinearGradient with the specified xStart, xEnd, yStart
and yEnd values with default {@link Unit} value number.
@param xStart:
the x-coordinate of a point at which linear gradient
starts.
@param xStartUnit_or_yStart:
the unit for the xStart value. It can have one of the two
values Unit.NUMBER or Unit.PERCENT. If it is null then the
default value is Unit.NUMBER. Or the y-coordinate of a point
at which linear gradient starts.
@param yStart_or_xEnd:
the y-coordinate of a point at which linear gradient
starts or the x-coordinate of a point at which linear
gradient ends.
@param yStartUnit_or_yEnd:
the unit for the yStart value. It can have one of the two
values Unit.NUMBER or Unit.PERCENT. If it is null then the
default value is Unit.NUMBER. Or the y-coordinate of a point
at which linear gradient ends.
@param xEnd_or_colorStops:
the x-coordinate of a point at which linear gradient ends or
the list of colorstops for the linear gradient.
@param xEndUnit:
the unit for the xEnd value. It can have one of the two
values Unit.NUMBER or Unit.PERCENT. If it is null then the
default value is Unit.NUMBER.
@param yEnd:
the y-coordinate of a point at which linear gradient ends.
@param yEndUnit
the unit for the yEnd value. It can have one of the two
values Unit.NUMBER or Unit.PERCENT. If it is null then the
default value is Unit.NUMBER.
@param colorStops:
the list of colorstops for the linear gradient.
|
Returns the x-coordinate of a point at which linear gradient
starts.
@return: the x-coordinate of a point at which linear gradient
starts.
|
Returns the x-coordinate of a point at which linear gradient
ends.
@return: the x-coordinate of a point at which linear gradient
ends.
|
Returns the y-coordinate of a point at which linear gradient starts.
|
Returns the x-coordinate of a point at which linear gradient ends.
|
Returns the unit of x-coordinate of a point at which linear gradient starts.
|
Returns the unit of y-coordinate of a point at which linear gradient starts.
|
Returns the unit of x-coordinate of a point at which linear gradient ends.
|
Returns the unit of y-coordinate of a point at which linear gradient ends.
|
Returns a list of colorstops associated with this gradient.
|
Returns string representation of an object of type Paint.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Apr 20 16:52:48 2013 | http://epydoc.sourceforge.net |