withClip
inline fun Canvas.withClip(left: Int, top: Int, right: Int, bottom: Int, block: Canvas.() -> Unit)(source)
inline fun Canvas.withClip(left: Float, top: Float, right: Float, bottom: Float, block: Canvas.() -> Unit)(source)
Wrap the specified block in calls to Canvas.save/Canvas.clipRect and Canvas.restoreToCount.
Wrap the specified block in calls to Canvas.save/Canvas.clipPath and Canvas.restoreToCount.