Class AWGradientStyle

Object
   |
   +--AWGradientStyle

class AWGradientStyle


AWGradientStyle is a class to encapsulate gradient style information.


Defined in awxapi-1.0.js.


Field Summary
 Array alphas
          Array of values for marker transparency, where 0 indicates full transparency, 100 full opacity.
 Array colors
          Array of RGB colors. Valid format is a hexadecimal color value, for example, red is 0xFF0000, blue is 0x0000FF, and black is 0x000000.
 String fillType
          The fill type. The acceptable values are "radial" and "linear".
 Number focalPointRatio
          The focal point ratio. The acceptable values are between -1 and 1.
 String interpolationMethod
          The interpolation method. The acceptable values are "RGB" and "linearRGB".
 Object matrix
          The matrix is a Flash object used to apply the gradient transformation.
 Array ratios
          Array of ratio values.
 String spreadMethod
          The spread method. The acceptable values are "pad", "reflect", and "repeat".
 
Constructor Summary
AWGradientStyle ( <String> fillType, <Array> colors, <Array> alphas, <Array> ratios, <Object> matrix, <String> spreadMethod, <String> interpolationMethod, <Number> focalPointRatio )
           
 

Field Detail

alphas

Array alphas

colors

Array colors

fillType

String fillType

focalPointRatio

Number focalPointRatio

interpolationMethod

String interpolationMethod

matrix

Object matrix

ratios

Array ratios

spreadMethod

String spreadMethod

Constructor Detail

AWGradientStyle

AWGradientStyle( <String> fillType, <Array> colors, <Array> alphas, <Array> ratios, <Object> matrix, <String> spreadMethod, <String> interpolationMethod, <Number> focalPointRatio )