radialGradient

fun radialGradient(from: PdfColor, to: PdfColor, centerX: Float, centerY: Float, radius: Float): PdfPaint.RadialGradient

Two-stop radial gradient centred at (centerX, centerY) with the given radius. The centre takes from, the perimeter takes to.