1,934 questions
Use FillEllipse :
e.Graphics.FillEllipse(new SolidBrush(System.Drawing.Color.Red), 10, 10, 10, 10);
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
private void Form1_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawEllipse(new Pen(Color.Red, 1), 10, 10, 10, 10);
}
If I change the Pen width from 1 to 3 or to 10 it will be more wide but not filled.
I want to draw like a point filled so I can change it's size but keep it filled not empty circle.
Use FillEllipse :
e.Graphics.FillEllipse(new SolidBrush(System.Drawing.Color.Red), 10, 10, 10, 10);