saveLayer

open fun saveLayer(left: Float = 0.0f, top: Float = 0.0f, right: Float = canvas.width.toFloat(), bottom: Float = canvas.height.toFloat()): Int

A convenience function for Canvas.saveLayer.

See also