addImage

fun addImage(name: String, bitmap: Bitmap, sdf: Boolean)

Adds an image to be used in the snapshotter's style

Parameters

name

the name of the image

bitmap

the pre-multiplied Bitmap

sdf

the flag indicating image is an SDF or template image