ig.excel.CellFillLinearGradient

An immutable object which represents a linear gradient fill for a cell.

Dependencies

jquery-1.4.4.js
infragistics.util.js
The current widget has no options.
The current widget has no events.
  • ig.excel.CellFillLinearGradient
    Constructor

    new $.ig.excel.CellFillLinearGradient( angle:number, stops:ig.excel.CellFillGradientStop[] );

    Creates a new CellFillLinearGradient instance.

    • angle
    • Type:number
    • The angle, in degrees, of the direction of the linear gradient, going clockwise from the left-to-right direction.
    • stops
    • Type:ig.excel.CellFillGradientStop[]
    • Two or more gradient stops which describe the color transitions and their positions within the gradient.

    Exceptions

    Exception Description
    ig.ArgumentException stops contains less than two gradient stops. There must be at least two stops to define the gradient.
  • angle

    .angle( );

    Gets the angle, in degrees, of the direction of the linear gradient, going clockwise from the left-to-right direction.

  • equals

    .equals( obj:object );
    Return Type:
    boolean
    Return Type Description:
    True if the object is equal to this instance; False otherwise.

    Determines whether the CellFillLinearGradient is equal to the specified object.

    • obj
    • Type:object
    • The object to test for equality.
  • getHashCode

    .getHashCode( );
    Return Type:
    number
    Return Type Description:
    A number which can be used to hash this instance.

    Gets the hash code for the CellFillLinearGradient.

Copyright © 1996 - 2024 Infragistics, Inc. All rights reserved.