Drawing a thicker line on TFT
Moderators: adafruit_support_bill, adafruit

Drawing a thicker line on TFT

by kqpro on Mon Mar 25, 2013 10:48 pm

I am currently using: tft.drawLine(50,114,65,90, BLACK); to draw a line, is there a way to make it thicker? Thanks.
kqpro
 
Posts: 24
Joined: Sun Feb 10, 2013 2:41 pm

Re: Drawing a thicker line on TFT

by adafruit_support_bill on Tue Mar 26, 2013 5:57 am

There is no pen-size option in the GFX library at this time.
User avatar
adafruit_support_bill
 
Posts: 30796
Joined: Sat Feb 07, 2009 10:11 am

Re: Drawing a thicker line on TFT

by kqpro on Tue Mar 26, 2013 2:22 pm

Ok thanks.
Also, is there a fillTriangle type like function?
kqpro
 
Posts: 24
Joined: Sun Feb 10, 2013 2:41 pm

Re: Drawing a thicker line on TFT

by adafruit_support_bill on Tue Mar 26, 2013 2:28 pm

Yes there is a fillTriangle(). See here for full GFX library documentation:
http://learn.adafruit.com/adafruit-gfx-graphics-library
User avatar
adafruit_support_bill
 
Posts: 30796
Joined: Sat Feb 07, 2009 10:11 am