get pic texcoord method for lua