mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-12-06 01:34:29 +03:00
Notice that the expansion of the line width depends on the order of the
points:
* If the bigger axis value is provided as the *second* point the line
expand first to the *positive* side of the axis.
* If the bigger axis value is provided as the *first* point the line
expand first to the *negative* side of the axis.
* If the line's width is odd this doesn't matter, as the line will
expand the same amount to both sides.
This behavior should be consistent in both horizontal and vertical lines.
|
||
|---|---|---|
| .. | ||
| line_horizontal_w2px_inverted.png | ||
| line_horizontal_w2px_normal.png | ||
| line_horizontal_w3px.png | ||
| square.png | ||
| triangle_right.png | ||