Effect.MaskImage
The Effect.MaskImage effect is a pixel effect that masks its parent Item (and children) against the alpha channel of an image.
The following example shows a dinosaur mask being applied to a video.
Video { with Effect.MaskImage { source: "dinosaur.png" } }
The proportion of the mask effect applied. A value of 0 leaves the input unchanged, whereas a value of 1 has the mask fully applied.
Animating this property allows you to fade the mask effect in and out.
property Effect.MaskImage.Status statusread only
Effect.MaskImage.Status.Idle
No source url has been specified.
Effect.MaskImage.Status.Loading
The element is loading the image.
Effect.MaskImage.Status.Ready
The element has successfully loaded the image.
Effect.MaskImage.Status.Failed
The element has failed to load the image.