Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom shape (Read 2079 times)
Achilles
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Apr 23rd, 2009
Custom shape
Oct 6th, 2009 at 7:58am
Print Post  
I have a requirement to create a custom shape. The custom shape I want is an image icon. I've tried creating this shape in ShapeDesigner tool, but I couldn't achieve this. The image I insert is always inside another shape, I couldn't get the image alone as a shape.

I really appreciate any help on this.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom shape
Reply #1 - Oct 6th, 2009 at 8:08am
Print Post  
You could call ShapeNode.setTransparent(true) to display only the node's Image.
  
Back to top
 
IP Logged
 
Achilles
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Apr 23rd, 2009
Re: Custom shape
Reply #2 - Oct 6th, 2009 at 1:04pm
Print Post  
Thanks for the reply, I'm able to see the image alone. But when I zoom-in / zoom-out, the image gets distorted. Is there any known techniques to avoid this
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom shape
Reply #3 - Oct 7th, 2009 at 6:21am
Print Post  
We don't know of any. We’ll check if the graphics.setRenderingHint method provides some key that affects the bitmap output.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint