saveLayer

fun Canvas.saveLayer(left: Float, top: Float, right: Float, bottom: Float): Int

A convenience function for Canvas.saveLayer.