Drawing a thicker line on TFT

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
kqpro
 
Posts: 24
Joined: Sun Feb 10, 2013 2:41 pm

Drawing a thicker line on TFT

Post by kqpro »

I am currently using: tft.drawLine(50,114,65,90, BLACK); to draw a line, is there a way to make it thicker? Thanks.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Drawing a thicker line on TFT

Post by adafruit_support_bill »

There is no pen-size option in the GFX library at this time.

kqpro
 
Posts: 24
Joined: Sun Feb 10, 2013 2:41 pm

Re: Drawing a thicker line on TFT

Post by kqpro »

Ok thanks.
Also, is there a fillTriangle type like function?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Drawing a thicker line on TFT

Post by adafruit_support_bill »

Yes there is a fillTriangle(). See here for full GFX library documentation:
http://learn.adafruit.com/adafruit-gfx-graphics-library

User avatar
jim_lee
 
Posts: 709
Joined: Thu May 24, 2012 8:24 pm

Re: Drawing a thicker line on TFT

Post by jim_lee »

Use a fillCircle then step & repeat it down the line? It'll take awhile but it should do the trick.

-jim lee

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”