Added basic support for dashed lines.