ssv007 / android-page-curl

Automatically exported from code.google.com/p/android-page-curl
0 stars 0 forks source link

Suggestion: make it be able to flip vertically #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thank you for your great library.

Can you change the PageCurlView class so that it can not only flip left to 
right but top to bottom?
You can do this by creating the clipping path depending on the direction to 
flip.

I tried to do this by moving the points used to define the current clipping 
paths (mA, mB, mC... etc) to separated classes ClippingPathHorizontal and 
ClippingPathVertical, which control the movement and the clipping path 
depending on the direction.
Please refer to the sample code in the attached file android-page-curl-ex.zip.
You can change the direction by calling PageCurlView#setFlipDirection().

Original issue reported on code.google.com by umbalaco...@gmail.com on 22 Oct 2011 at 8:27

Attachments:

GoogleCodeExporter commented 9 years ago
It's Really Help Full Thanks

Original comment by sainath....@dharani.co.in on 18 Jan 2013 at 10:55