c# - Get updated polygon points after transformation -


I need to retrieve the new points of my polygon (inside the canvas) after a rotate transform.

Rotate Transformation Rotation = New Rotate Transform (Rotationangle); Polygon Reader Transform = Rotation;

As the rendererforms are applied, polygon The point collection does not get new values.

I have read about people trying to bind it to numeral collection (which is not ObsavableCollection ), but nothing useful to me met.

You can see the gradual form of converting all the points in the points collection of polygon You can get changed points from:

  using System.Linq; Var Converted Points = Polygon Points Selection (P => Rotation. Transform (P));  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -