Optional
options: Partial<MaskRendererOptions>The color of the mask
Mask height in pixels (only for rectangle)
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, Circumference or Polygon
Polygon vertices (only for polygon)
Mask width in pixels (only for rectangle)
Renders a filled shape (rectangle, circumference or polygon)
Example
Example
Example