createBlank

fun createBlank(width: Int, height: Int): Canvas

Creates a blank (fully transparent) canvas with the given dimensions.

Return

new blank Canvas

Parameters

width

width of the new canvas in pixels

height

height of the new canvas in pixels