how after drawing a square with two points at opposite corner would i find the width of it?? thanks
gusbear 0 Newbie Poster
Recommended Answers
Jump to PostIf you have two points:
(10, -7)
(3, 12)
then how do you find the distances between them?The distances are:
- distance between the x values (what you are looking for)
- distance between the y values (or "height")
- distance between the two points (the length of …
Jump to PostIf you have upper left corner coordinates (x1, y1) and lower right corner coordinates (x2, y2), then your width would simply be x2 - x1.
All 8 Replies
Duoas 1,025 Postaholic Featured Poster
Ene Uran 638 Posting Virtuoso
jrcagle 77 Practically a Master Poster
Racoon200 0 Junior Poster in Training
Racoon200 0 Junior Poster in Training
Robbydude629 0 Newbie Poster
Racoon200 0 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.