"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

[vb.net] picturebox entlang path bewegen

Emminenz 21.05.2005 - 14:56 1486 0
Posts

Emminenz

Big d00d
Avatar
Registered: Dec 2001
Location: Vogau
Posts: 339
Ich habe in Vb.net einen Path (System.Drawing.Drawing2D.GraphicsPath) gezeichnet und möchte nun eine Picturebox an diesem Pfad entlang fahren lassen.
ich habe mir schon testweise einmal die punkte aus dem path-array ausgeben lassen:
For i = 0 To strecke.PathPoints.GetUpperBound(0)
ListBox1.Items.Add((strecke.PathPoints.GetValue(i).ToString))
Next
nur leider sind die in der form {X=, Y=} also schlecht verwendbar für eine .left operation.
Irgendjemand eine Idee wie man das machen könnte?
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz