Packagecom.adobe.csxs.types
Classpublic class GradientStop

Stores gradient stop information.



Public Properties
 PropertyDefined by
  offset : Number
Retrieves the offset of the gradient stop.
GradientStop
  rgbColor : RGBColor
Retrieves the RGB color of the stop.
GradientStop
Public Methods
 MethodDefined by
  
GradientStop(offset:Number = 0.0, rgbColor:RGBColor = null)
Creates a gradient-stop object.
GradientStop
  
toString():String
Creates a string that contains all the properties of this object.
GradientStop
Property detail
offsetproperty
offset:Number  [read-write]

Retrieves the offset of the gradient stop.

Implementation
    public function get offset():Number
    public function set offset(value:Number):void
rgbColorproperty 
rgbColor:RGBColor  [read-write]

Retrieves the RGB color of the stop.

Implementation
    public function get rgbColor():RGBColor
    public function set rgbColor(value:RGBColor):void
Constructor detail
GradientStop()constructor
public function GradientStop(offset:Number = 0.0, rgbColor:RGBColor = null)

Creates a gradient-stop object.

Parameters
offset:Number (default = 0.0) — Optional, the offset of the gradient stop, in the range [0.0 to 1.0].
 
rgbColor:RGBColor (default = null) — Optional. The color.
Method detail
toString()method
public function toString():String

Creates a string that contains all the properties of this object.

Returns
String — The properties string.