Element

fun Element(rect: Rect, type: RecordingMask.Element.Type = Type.COVERING)

Parameters

rect

Screen space rectangle

type

Mask type. Default is Type.COVERING.