clipRect

abstract fun clipRect(x: Float, y: Float, width: Float, height: Float)

Intersects the current clip with a rectangle defined by (x, y, width, height).