* When 'closed' is true, an 'h' operator is included in the PDF code generated by the lines method, so the subpath is closed. * The option is used in the triangle method, so it generates a closed triangle, with all the corners rendered with the same join style. * @param descriptions for 'style' and 'closed' were added to the documentation of the lines method.
'miter' was spelled incorrectly ('milter'), and it was swapped with 'bevel'. Join style 0 is 'miter', and join style 2 is 'bevel'. See, for example, http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/JointStyle.html or http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/cap-join-styles.html for examples of the 'miter' and 'bevel' join styles.
I came across a syntax error in the downloaded version. Looks like it's been fixed in the repo, but not quite in the correct way.