Drawing a thicker line on TFT
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 24
- Joined: Sun Feb 10, 2013 2:41 pm
Drawing a thicker line on TFT
I am currently using: tft.drawLine(50,114,65,90, BLACK); to draw a line, is there a way to make it thicker? Thanks.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Drawing a thicker line on TFT
There is no pen-size option in the GFX library at this time.
-
- Posts: 24
- Joined: Sun Feb 10, 2013 2:41 pm
Re: Drawing a thicker line on TFT
Ok thanks.
Also, is there a fillTriangle type like function?
Also, is there a fillTriangle type like function?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Drawing a thicker line on TFT
Yes there is a fillTriangle(). See here for full GFX library documentation:
http://learn.adafruit.com/adafruit-gfx-graphics-library
http://learn.adafruit.com/adafruit-gfx-graphics-library
- jim_lee
- Posts: 709
- Joined: Thu May 24, 2012 8:24 pm
Re: Drawing a thicker line on TFT
Use a fillCircle then step & repeat it down the line? It'll take awhile but it should do the trick.
-jim lee
-jim lee
Please be positive and constructive with your questions and comments.