Shape Fill

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 62
Joined: Wed Sep 07, 2011 12:00 am

Shape Fill

Post by lilo » Sat Oct 08, 2011 9:37 am

If a draw a shape with the line tool, is it possible to fillit with a color or pattern that I specify?

lilo
Newbie
Newbie
Posts: 62
Joined: Wed Sep 07, 2011 12:00 am

Re: Shape Fill

Post by lilo » Sun Oct 09, 2011 6:54 am

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,

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Shape Fill

Post by Sandra » Mon Oct 10, 2011 2:50 pm

Hello lilo,

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

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply