shadowGen static method

TransformationData shadowGen({
  1. String? backgroundImage = "",
  2. String? backgroundColor = "ffffff",
  3. double? shadowAngle = 120,
  4. double? shadowIntensity = 0.5,
})

AI Soft Shadow Generator

  • backgroundImage : Background Image (Default: )

  • backgroundColor : Background Color (Default: "ffffff")

  • shadowAngle : Shadow Angle (Default: 120)

  • shadowIntensity : Shadow Intensity (Default: 0.5)

Returns TransformationData.

Implementation

static TransformationData shadowGen(
    {String? backgroundImage = "",
    String? backgroundColor = "ffffff",
    double? shadowAngle = 120,
    double? shadowIntensity = 0.5}) {
  // Call the generated class method
  return ShadowGen()
      .gen(backgroundImage, backgroundColor, shadowAngle, shadowIntensity);
}