placeCaption

fun placeCaption(picture: Bitmap, firstLine: String, secondLine: String): Bitmap

Overlays two lines of text on a solid background drawn at the bottom of a bitmap (image).

Return

Bitmap with the two lines of text overlain on the original image.

Parameters

picture

Image on which the text is to be overlain.

firstLine

First line of text to be placed.

secondLine

Second line of text to be placed.