Bonjour, j'aimerai convertir en vb.net MoveTo et LineTo avec GraphicsPath. mais impossible de trouver la solution a mon problème.

exemple de code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
Dim newPath = New GraphicsPath()
    Dim start = StartFigures
    Dim close = CloseFigures
    newPath.MoveTo(10, 10)
    newPath.LineTo(20, 90)
    newPath.LineTo(10, 60)
    newPath.LineTo(90, 80)
    newPath.LineTo(60, 30)...etc
Pouvez-Vous me dire comment je pourrais remplacer MoveTo et LineTo avec GraphicsPath? merci d'avance