Point point1 = new Point(Position.X + 4, Position.Y + 4);
Point point2 = new Point(Position.X + 8, Position.Y + 0);
Point point3 = new Point(Position.X + 8, Position.Y + 8);
Point[] curvePoints = { point1, point2, point3 };
g.FillEllipse(pacBrush,Position.X, Position.Y, Size, Size);
g.FillPolygon(bgBrush, curvePoints);
pacBrush is yellow and bgBrush is black. Position is a point, assume that it
is (8, 8).
I run this code but rectangle doesn't cover the yellow filled circle. I want
to make a pacman effect.
Any help would be appriciated.