androiddeveloperken / beginnginandroidgames2

Automatically exported from code.google.com/p/beginnginandroidgames2
0 stars 0 forks source link

Incorrect Pg. 182 Beginning Android Games (Paint.Align) #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The last paragraph on page 182 claims that Paint.Align Center will position 
text at the top center pixel.

From my testing, it has become clear it will actually position at the bottom 
center pixel.

Test for yourselves:

1. Position text at the bottom of your screen.  Make sure to use 
Paint.Align.Center with your Paint.setTextAlign() method.

2. Observe whether or not said text is on the screen ( bottom-center 
positioning) or below the screen ( top-center positioning )

Original issue reported on code.google.com by EthicalM...@gmail.com on 18 Sep 2013 at 9:19