tufanv Expert Licensed User Longtime User Mar 25, 2015 #1 Hello, Lets say i have draw a line with canvas. Later on i need to find the lines top left right and bottom of this line via code. How can a find it ? Thank you.
Hello, Lets say i have draw a line with canvas. Later on i need to find the lines top left right and bottom of this line via code. How can a find it ? Thank you.
T Troberg Well-Known Member Licensed User Longtime User Mar 25, 2015 #2 You'll have to remember it in your code, for example storing the lines in a list, map or array. The canvas does not remember it for you, it merely paints some pixels on the screen and that's it. Upvote 0
You'll have to remember it in your code, for example storing the lines in a list, map or array. The canvas does not remember it for you, it merely paints some pixels on the screen and that's it.