Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Canvas BackgroundImage
Canvas BackgroundImage [message #717514] Sun, 21 August 2011 04:41 Go to next message
Balaji  is currently offline Balaji
Messages: 17
Registered: August 2011
Junior Member
Hi
I am trying to set Background Image to my Canvas. I am succeeded in that.

But the problem is, the image loads in Tile format(filling the canvas by repeating the image). Is there any option or FLAG we can set to load image with No Tile option.
Re: Canvas BackgroundImage [message #717605 is a reply to message #717514] Sun, 21 August 2011 16:54 Go to previous messageGo to next message
Hekmatof  is currently offline Hekmatof
Messages: 5
Registered: August 2011
Location: Iran/Tehran
Junior Member

It's really better Idea to post just one Topic instead 17 ones. so please delete other ones.

and about question. it's from JavaDoc of setBackground method : The background image is tiled to fill the available space
it's better effort to resize your image and set its size equals to your canvas size

[Updated on: Sun, 21 August 2011 16:56]

Report message to a moderator

Re: Canvas BackgroundImage [message #717607 is a reply to message #717605] Sun, 21 August 2011 17:01 Go to previous message
Balaji  is currently offline Balaji
Messages: 17
Registered: August 2011
Junior Member
Sorry.. Something went wrong while posting my question. So only these many threads. I couldnt find the delete option Sad.

and
Thanks for your answer
Previous Topic:(no subject)
Next Topic:the browser component, webkit, and PKI
Goto Forum:
  


Current Time: Wed Sep 24 02:29:38 GMT 2014

Powered by FUDForum. Page generated in 0.07460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software