fillRect

abstract fun fillRect(x: Double, y: Double, w: Double, h: Double)(source)

MDN Reference