ExcludeView

fun ExcludeView(    view: View,     mode: ExcludeMode = ExcludeMode.HIDE,     includeMargin: Boolean = false)

Parameters

view

Children view of view group to exclude of the image.

mode

Exclude mode based on ExcludeMode

includeMargin

Determines if the margin is included in the size of the child view, so if it is true, the view will be excluded including its margins.