drawRect

abstract fun drawRect(x: Float, y: Float, width: Float, height: Float, color: PdfColor)

Fills an axis-aligned rectangle.