dundas.controls.GradientStop Class

Describes the location and color of a point along a gradient.
 

Inheritance Hierarchy

 
Class
   dundas.controls.GradientStop
 

Constructors

 
  Name Description
init Initializes the stop. Called during construction.
 
 

Properties

 
  Name Description
color Gets or sets the color of the stop.
offset Gets or sets the offset of the stop.
 
 

Methods

 
  Name Description
clone Creates a clone of this stop.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toCss Returns the CSS representation of the stop.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.