Pixelate Effect¶
The Pixelate effect adds pixelation to a control that mimics the look of classic video games.
Properties¶
PixelSize - int¶
Gets or sets the size of the pixel. Default is 10.
PixelType - PixelationPixelType¶
Gets or sets the pixel type. Default is Square. Can be set to one of the following:
public enum PixelationPixelType {
Square,
Circle,
Diamond
}
A Pill Button with Square Pixelation:
A Pill Button with Circle Pixelation:
A Pill Button with Diamond Pixelation:
Example Usage¶
C#¶
control.VisualEffects.Add(new Aurora.VisualEffects.Pixelate { PixelSize = 25 });