Optional
options: Partial<MaskRendererOptions>The color of the mask
Mask height in pixels
The render layer
X-axis and Y-axis offset
Change the opacity between 1 and 0
Mask radius in pixels (only for circumference)
Mask rotation in radians
Mask shape: Rectangle or Circumference
Mask width in pixels
Renders a filled shape (rectangle or circumference)
Example
Example