a quick test shows that changing the 'width' of a vertical line causes 
the line to be slanted.

To me, this means that the width of the line is the width of a box 
(vertical line), that encloses the line, where the line starts in the 
top left (or top right) corner, and ends in the opposite bottom corner.

Flip this for a horizontal line.

This means that 4D can simply store the same coordinates for a box, or 
line, or most other objects and not have to deal with:
This line is 100 pixels long and slopes at a 4.3456893 degree angle

On Thu, 06 Oct 2016 13:59:38 -0400, Jeremy French wrote:
> Why does the form editor show a zero value for one side of a line?
> 
> That is:
> 
> 1) a horizontal line shows a non-zero width, but zero for its height; and
> 2) a vertical line shows a non-zero height, but zero for its width.
> 
> In other words, one dimension is always zero: zero height for 
> horizontal lines, zero width for vertical lines.
> 
> Moreover, if you increase the visual thickness of the line, the zero 
> value remains.
> 
> That is, the zero value is always reported (in "Coordinates and 
> Sizing") irregardless of the width value selected in "Background and 
> Border".
> 
> Take for example a vertical line. 
> 
> The form editor (in "Coordinates and Sizing") shows a non-zero value 
> for the vertical line's height (which is expected.) But the line's 
> width shows zero (which seems unexpected.)
> 
> When I increase the visual thickness of the line in "Background and 
> Border" from hairline to 20 points (which is a thick line), the zero 
> width value in "Coordinates and Sizing" remains.
> 
> Why is something that visually has both width and height have one 
> dimension reported as zero in "Coordinates and Sizing”, and also by 
> the "OBJECT GET COORDINATES" command?
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to