setLayout

open fun setLayout(left: Int, top: Int, right: Int, bottom: Int)

Sets layout of surface inside parent to compensate differences between viewport and preview sizes and draw polygon correctly

Parameters

left
top
right
bottom