InertiaM
Well-known member
Is it possible to draw two items (for example, a rectangle and an ellipse) and where the fill colours meet, create a blend rather than overlay
I know I can show the outline through, by drawing the "fills" first and then the "strokes", but this doesnt help with the colour blend.
VB.NET:
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
Dim p As New Pen(Color.Black)
With e.Graphics
.FillRectangle(Brushes.LightGray, 50, 50, 200, 200)
.DrawRectangle(p, 50, 50, 200, 200)
.FillEllipse(Brushes.LightBlue, 150, 150, 150, 150)
.DrawEllipse(p, 150, 150, 150, 150)
End With
p.Dispose()
End Sub
I know I can show the outline through, by drawing the "fills" first and then the "strokes", but this doesnt help with the colour blend.