What is the difference between System.Drawing.Point and System.Drawing.PointF

Rye picture Rye · Sep 17, 2010 · Viewed 22.9k times · Source

What is the difference between System.Drawing.Point and System.Drawing.PointF. Can you give an example between this two.

Thanks in advance.

Answer

Jon Skeet picture Jon Skeet · Sep 17, 2010

Point uses integer coordinates (int for X and Y).

PointF uses floating points (float for X and Y).