Draw blur radius and pixel size inside region

This commit is contained in:
Jaex 2016-05-10 01:50:20 +03:00
parent 8c30b78987
commit 0e7ba6cbe9
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ public override void Draw(Graphics g)
using (Font font = new Font("Verdana", 14))
using (StringFormat sf = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center })
{
g.DrawString("Blur", font, Brushes.White, Rectangle, sf);
g.DrawString($"Blur ({BlurRadius})", font, Brushes.White, Rectangle, sf);
}
}
}

View file

@ -59,7 +59,7 @@ public override void Draw(Graphics g)
using (Font font = new Font("Verdana", 14))
using (StringFormat sf = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center })
{
g.DrawString("Pixelate", font, Brushes.White, Rectangle, sf);
g.DrawString($"Pixelate ({PixelSize})", font, Brushes.White, Rectangle, sf);
}
}
}