Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

but why not this case, with getClipX()?  RSS feed

 
Ambrish Chandra Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mark,
Thankx,
but if this is the case so i should also get this value in case of getClipX().
Since both coordinates start from 0,0. It is giving the right value of getClipX().

Ambrish.
 
Ambrish Chandra Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mark,

I got the answer of this question-
Actualy in the J2ME emulator it's not giving right answer but when i tried it on mobile handset, it's running fine. That means both getClipX() and getClipY() gives accurate value but in emulator getClipY() gives the actual value+1.
that's it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!