I'm drawing a line with win2d and C# uwp. I would like to get infomation about that line such as the line length and even a list of points that are used to create that line. I've tried everything I know and I just can't figure out a solution. Maybe I'm approaching this from the wrong angle? Can anyone help?
If you have information about the start and end, can't you apply this? Length = (y1 - y2)^2 + (x1 - x2)^2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.