toPdfRadialGradient method
RadialGradient
toPdfRadialGradient()
Implementation
pw.RadialGradient toPdfRadialGradient() => pw.RadialGradient(
colors:
colors.map<PdfColor>((Color color) => color.toPdfColor()).toList(),
center: (center as Alignment).toPdfAlignment(),
radius: radius,
stops: stops,
focal: (focal as Alignment).toPdfAlignment(),
focalRadius: focalRadius,
tileMode: tileMode.toPdfTileMode(),
);