setSizePx

fun setSizePx(widthPx: Int, heightPx: Int): LegacyLithoTestRule

Sets a new width and height which should be used to render.