long overrideDefaultStyle(int styleEnum)

This method sets the current default line style to styleEnum, with possible values 0, 1, 2, or 3, indicating NONE, SOLID, DASHED, DOTTED, respectively. (NONE makes the line invisible.)

The initial default line style is SOLID.  

The method returns 0 upon success, and an error code if styleEnum is invalid.