Clip balloon rectangle while drawing tail

This commit is contained in:
Jaex 2016-08-24 19:50:27 +03:00
parent 871b583da2
commit ee5849ec53

View file

@ -61,6 +61,8 @@ public override void OnDraw(Graphics g)
private void DrawTail(Graphics g)
{
g.ExcludeClip(Rectangle);
using (GraphicsPath gpTail = new GraphicsPath())
{
Point center = Rectangle.Center();
@ -96,6 +98,8 @@ private void DrawTail(Graphics g)
g.ResetTransform();
}
g.ResetClip();
}
public override void OnNodeUpdate()