I have arrays of points that i'm using to create polygonal regions on panels. This works, but the polygon is narrowed slightly...
To compensate for that, i'm trying to widen the graphicspath...
My panels effectively disappear. All i see is an outline where a solid polygon shape should be.
Can anyone help solve this problem?
Code:
Dim gp As New Drawing2D.GraphicsPath
gp.AddPolygon(ShipPoints(arrayIndex))
Me.Region = New Region(gp)
Code:
Dim gp As New Drawing2D.GraphicsPath
gp.AddPolygon(ShipPoints(arrayIndex))
gp.Widen(p1px)
Me.Region = New Region(gp)
Can anyone help solve this problem?