title: How to find each pixel between two points in java?
body: <p>Hello sir/mem i m making Desktop App in java Swing for doctor.I want to find each pixel value not count between two points.suppose i have one point (100,145) and second point is (173,190) and i want to get pixel between this two points.means every pixels of (x,y) value between that two points.so how can i do that?</p>