A POLY record can appear after a LAYER record has been issued. The POLY record defines a polygon object.
The header flags byte is not used.
The POLY record contains the following fields:
bytes | field name | purpose |
---|---|---|
? | xy | coordinate pairs, path must be closed |
Coordinates use four-byte integers. The first and last coordinate pair (x-y values) must be the same. There must be at least four coordinate pairs.