howto get all segments of an android.graphics.path -


i have andoid.graphics.path created moveto(),lineto(),cubeto() , close().

how these operations ? mean following pseodcode:

operations[] = getoperations(mypath); string soperation=operation[0].type; // moveto,cubeto,lineto,close int x=operation[0].x;     int y=operation[0].y; 

i'm afraid isn't possible. in source of android.graphics.path, you'll observe method directly invokes native method, , doesn't provide mechanism of retrieving segments.

if wish keep tuples, i'd suggest maintaining own array.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -