×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    10

    How does setClip() work ??

    Hi....
    can any one tell me how exactly does g.setClip(x,y,w,h) work in j2me???

    does it paint the entire image, but only the clipped image is visible(and the rest of the image isnt visible) ??
    OR
    it clips the particular region from the image (which is already created) and then renders only that region on the screen, without drawing the ENTIRE image ??

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    46

    Re: How does setClip() work ??

    Hi,vishal10
    Generally,you use g.setClip(x,y,w,h) with g.drawImage().It does draw the entire image,but only the region that you set in g.setClip(x,y,w,h) is visiable.
    Hope it helpful.

    Best regards

Similar Threads

  1. Replies: 2
    Last Post: 2004-04-27, 10:36
  2. CommConnection does not work with Series 60 SDK, but works in JWT
    By jackiechan2001 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2004-02-04, 09:07
  3. Does SDK v2.0 work on Series60 V6.1?
    By liying in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2004-02-02, 08:57
  4. does irda function work with the emulator ?
    By IGhost in forum Symbian
    Replies: 0
    Last Post: 2002-12-07, 17:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •