Add support for dashed lines.