dundas.controls.RadialGradientBrush Class

Defines a gradient radiating outward from a point to be used to fill a graphical element.
 

Inheritance Hierarchy

 
Class
   dundas.controls.Brush
      dundas.controls.GradientBrush
         dundas.controls.RadialGradientBrush
 

Constructors

 
  Name Description
init Initializes the brush. Called during construction.
 
 

Properties

 
  Name Description
brushType Gets the type of the brush. This value is used by the server to identify the brush type. This value cannot be set in JavaScript. Instead, the derived class type should be used. Inherited from dundas.controls.Brush.
positionType Gets or sets a value that specifies position of the center of the gradient.
shapeType Gets or sets a value that specifies the ending shape of the gradient.
sizeType Gets or sets a value that specifies the size of the gradient's ending shape.
stopCount Gets the number of gradient stops present in the brush. Inherited from dundas.controls.GradientBrush.
stops Gets or sets the stops. This is a direct accessor to the array, which there are convenience methods for. Inherited from dundas.controls.GradientBrush.
 
 

Methods

 
  Name Description
addStop Adds a gradient stop. Inherited from dundas.controls.GradientBrush.
applyToElement Applies this brush to an element.
clone Creates a clone of this brush.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getStopAt Gets the color stop at the specified index. Inherited from dundas.controls.GradientBrush.
removeStop Removes the color stop at the specified index. Inherited from dundas.controls.GradientBrush.
toCss Returns the CSS representation of the brush. Inherited from dundas.controls.Brush.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
toString Creates a string representation of this brush.
 
 

Examples