Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Polyline polyline = x as Polyline;
- if (polyline != null)
- polyline.Points[ix] = DoSomething(x);
- Polygon polygon = x as Polygon;
- if (polygon != null)
- polygon.Points[ix] = DoSomething(x);
- MyShape line = x as MyShape;
- if (line != null)
- line.Points[ix] = DoSomething(x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement