mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
UI fixes
This commit is contained in:
@@ -66,6 +66,7 @@ namespace CustomControls
|
||||
using (Pen penSurface = new Pen(this.Parent.BackColor, borderSize))
|
||||
using (Pen penBorder = new Pen(borderDrawColor, borderSize))
|
||||
{
|
||||
penBorder.Alignment = PenAlignment.Outset;
|
||||
pevent.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
|
||||
this.Region = new Region(pathSurface);
|
||||
pevent.Graphics.DrawPath(penSurface, pathSurface);
|
||||
|
||||
Reference in New Issue
Block a user