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

php array slice every 2th rule -

My HTML document is not linking to my CSS stylesheet properly -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -