Circular Mask Processor¶
Create a circular outline to an image, cutting out and displaying a portion of it, like a spotlight.
Example Usage¶
Xaml¶
<Image.Effects>
<auroraEffects:ImageProcessingEffect>
<auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
<auroraImageProcessing:Circular />
</auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
</auroraEffects:ImageProcessingEffect>
</Image.Effects>
C#¶
var imageProcessingEffect = new Aurora.Effects.ImageProcessingEffect();
imageProcessingEffect.ImageProcessingEffects.Add(
new Aurora.ImageProcessing.Circular()
);
image.Effects.Add(imageProcessingEffect);