Preparing search index...
    • Creates a deep clone of a given GradientParameters object.

      This function copies all defined properties from the input gradient, including shallow copies of the stop0 through stop4 properties (if present), ensuring that the returned object is a new instance with the same values.

      Parameters

      Returns GradientParameters

      A new GradientParameters object with the same properties as the input.