second property in rect which is -1 #4364
Unanswered
AvivEsh
asked this question in
Looking for help
Replies: 1 comment
-
The -1 means that the rectangle has been drawn clockwise, giving its area a marker that is important only for coloring (even-odd rule, non-zero winding rule). The standard is 1 = anticlockwise drawing, starting and stopping at the rectangle's top-right corner. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have notices that when looking at the following path:
'items': [('re', Rect(380.8199768066406, 341.70001220703125, 381.239990234375, 354.4800109863281), -1), ('l', Point(381.239990234375, 354.4800109863281), Point(368.4599914550781, 341.70001220703125))], 'type': 's', 'stroke_opacity': 1.0, 'color': (0.0, 0.0, 0.0), 'width': 0.36000001430511475, 'lineCap': (1, 1, 1), 'lineJoin': 1.0, 'closePath': False, 'dashes': '[] 0', 'rect': Rect(368.4599914550781, 341.70001220703125, 381.239990234375, 354.4800109863281), 'layer': '', 'seqno': 8, 'fill': None, 'fill_opacity': None, 'even_odd': None
I cannot see the diagonal line defined above in programs such as acrobat reader.
But I do see it in illustrator for example.
I have a big suspicion that the culprit is the -1 after the 're' rectangle object. The question is that exactly does this '-1' property mean and how can I save the path as it is? because when I try to save the path, the -1 becomes 1.
Any help would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions