Masks are objects contained by layers. Masks are telling composition render to cut the layer by applying mask on it.
Mask can be of two element types:
- Rectangle element
- Path element
- Type: string
ID of the mask.
- Type: HTML DOM element
Reference to DOM element representing layer.
- Type: Loopic Element object
Reference to the element representing the mask. The element can be one of two types: Rectangle element or Path element.