shadowGen static method
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);
}