Interfaces

MaskProps

Hides its children through another drawing. 'alpha' keeps what the mask is opaque under; 'luminance' keeps what it is bright under.

Properties

children?

optional children?: ReactNode;

mask

mask: ReactNode;

The drawing whose alpha or luminance does the masking.


mode?

optional mode?: "alpha" | "luminance";

On this page