service / com.scurab.android.uitor.extract / RenderAreaWrapper

RenderAreaWrapper

interface RenderAreaWrapper<T : View!>

Iface to define correct render area of view. User if your view is rendering outside predefined bounds. Mostlikely you view's parent has disabled child clipping android.view.ViewGroup#setClipChildren(boolean)

Functions

getRenderArea

Define relative offset of the view's rendering area

abstract fun getRenderArea(view: T, outRect: Rect!): Unit