gradientFade static method

GradientFade gradientFade({
  1. dynamic strength,
  2. dynamic type,
  3. dynamic horizontalStartPoint,
  4. dynamic verticalStartPoint,
})

Applies a gradient fade effect from the top edge of the image.

You can specify other edges using the x and y methods of the \Cloudinary\Transformation\GradientFade class. Receives dynamic, dynamic, dynamic, dynamic returns Effect.

Implementation

static GradientFade gradientFade(
    {dynamic strength,
    dynamic type,
    dynamic horizontalStartPoint,
    dynamic verticalStartPoint}) {
  return GradientFade(
      strength: strength,
      type: type,
      horizontalStartPoint: horizontalStartPoint,
      verticalStartPoint: verticalStartPoint);
}