-
Notifications
You must be signed in to change notification settings - Fork 383
Description
Hi everyone,
I think the current definition of "perimeter" mixes-up the properties of a boundary line with surface area calculations. Furthermore, the area calculation provided (4h+4w) assumes the stroke is placed on the outside without explicitly stating this alignment.
Here's how I think this would be more explicit:
Proposed Definition:
delete "not including shared pixels" (unless I misunderstood * what it meant for)
"Continuous line forming the boundary of a shape, or the minimum bounding box, whichever is shortest."
Associated first Note:
"The surface area calculation for a 2 CSS px perimeter is performed by considering the area in px occupied by the perimeter and the outer line. During calculations, pixels must be included only once."
Proposed Revision for the current Note :
The area calculation for a 2 CSS pixel perimeter ....
I'm not sure if this is the best way to word it, but there might be other possibilities...
* Note: 4h+4w is the area of a 2 CSS pixel outer perimeter, counting each corner area only once (which is different from "excluding" them). However, the term "shared pixels" could also be interpreted as pixels belonging to other adjacent elements, which is not clear.