Exclude View
data class ExcludeView( val view: View, val mode: ExcludeMode = ExcludeMode.HIDE, val includeMargin: Boolean = false)
Content copied to clipboard
Allows to define the configuration to exclude a children view when converting a view to an image.
Parameters
view
Children view of view group to exclude of the image.
mode
Exclude mode based on ExcludeMode
include Margin
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.
Constructors
Link copied to clipboard
fun ExcludeView( view: View, mode: ExcludeMode = ExcludeMode.HIDE, includeMargin: Boolean = false)
Content copied to clipboard