Update readme.md

This commit is contained in:
javalang 2018-11-15 19:42:30 +01:00 committed by GitHub
parent 7c387b6014
commit 591b939151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Note: filling functions using the fastDrawXXX functions of the TFT_eSPI Api.
And this is the result of this code:
![clock-face](images/screenshot_4571.png)
### hands
### clock hands
To draw a realistic clock hand, which should not be a single line and the anchor should not be exactly on one end of the hand, we design here a pentagon and scale this in one direction to our needs. Furthermore, because all of the TFTShape builder functions generate symmetrical shapes with the anchor point at the center, we need to move this anchor point (pivot point) nearly to the end of the hand.
![clock-face](images/screenshot_4552.png) ![clock-face](images/screenshot_4560.png) ![clock-face](images/screenshot_4551.png)