clipRect

open fun clipRect(left: Float, top: Float, right: Float, bottom: Float)

Clips the Canvas to the specified rectangle.

See also


open fun clipRect(rectF: RectF)

Clips the Canvas to the specified rectF.

See also