Page 1 of 1

Shape Fill

Posted: Sat Oct 08, 2011 9:37 am
by 15660116
If a draw a shape with the line tool, is it possible to fillit with a color or pattern that I specify?

Re: Shape Fill

Posted: Sun Oct 09, 2011 6:54 am
by 15660116
I found the solution by using

'Draw Pattern Fill
Dim br2 As New Drawing2D.HatchBrush(CType(FillPat2, Drawing2D.HatchStyle), Drawing.Color.Black, Drawing.Color.White)
g.FillRectangle(br2, point1.X , point1.Y, RECT_WID2 , RECT_HGT2)


Thanks,

Re: Shape Fill

Posted: Mon Oct 10, 2011 2:50 pm
by 10050769
Hello lilo,

Thank you for information. I am glad that you have find a solution for your problem :).

Thanks,