Add toFloatArray method and toString method in Polygon.
Authored by: hagru 2017-09-01
Parent: [r267]
Child: [r269]