Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Canvas BackgroundImage
Canvas BackgroundImage [message #717514] Sun, 21 August 2011 00:41 Go to next message
Eclipse UserFriend
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 12:54 Go to previous messageGo to next message
Eclipse UserFriend
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 12:56] by Moderator

Re: Canvas BackgroundImage [message #717607 is a reply to message #717605] Sun, 21 August 2011 13:01 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 21:42:56 EDT 2025

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

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

Back to the top