Can I create a Pen dashpattern that consists of alternating colours rather than a solid colour followed by a space? For example:

LinePen.DashPattern = New Single() {6, 4}

... creates a pattern with a dash of 6 pixels followed by a space of 4 pixels. Rather than a space, I would like a different solid colour. That way I could create a rectangular cursor with something like a black/white alternating pattern, which would be clearly visible on top of any picture.

Thanks.