uwp - Get info about a line using Win2d C# -


i'm drawing line win2d , c# uwp. infomation line such line length , list of points used create line. i've tried know , can't figure out solution. maybe i'm approaching wrong angle? can help?

enter image description here

if have information start , end, can't apply this? length = (y1 - y2)^2 + (x1 - x2)^2


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

javascript - Error handling and status codes with knex in koa -