Sorry it's an error in the javadoc, below you can find an example on how to read the ink path:
if(annot != null && annot.GetType() == 15) {
Path inkPath = annot.GetInkPath();
float pt1[] = new float[2];
float pt2[] = new float[2];
int index = 0;
int cnt = inkPath.GetNodeCount();
while( index < cnt ) {
int op = inkPath.GetNode(index, pt1);
switch( op ) {
case 1: //line to
Log.i("---INK---", "-- line to " + pt1[0] + ", " + pt1[1]);
index++;
break;
case 2: //curve to
inkPath.GetNode(index + 1, pt2);
float pt3[] = new float[2];
inkPath.GetNode(index + 2, pt3);
Log.i("---INK---", "-- curve to " + pt1[0] + ", " + pt1[1] + ", " + pt2[0] + ", " + pt2[1] + ", " + pt3[0] + ", " + pt3[1]);
index += 3;
break;
default: //move to
Log.i("---INK---", "-- move to " + pt1[0] + ", " + pt1[1]);
index++;
break;
}
}
inkPath.Destroy();
}