rename penStyleToString to lineWidthToString