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
Post a Comment