adding support for dithering, DashPathEffect, and CornerPathEffect