setContentSize

fun setContentSize(size: Size)

Set the content size.

Parameters

size

The content size, for example an image size in pixel.