G'day,

I'm migrating some structure rendering code from CDK 1.2 to 1.4.  This
has gone well except for one remaining issue which is setting the
background (and foreground) colour of the diagram.

I use the following code to do this:

             final RendererModel model = renderer.getRenderer2DModel();
             model.set(BasicSceneGenerator.BackgroundColor.class,
getBackground());

but it has no effect; the background colour of the atoms is always white.

Is this the correct approach or is there a bug to report.

Thanks,
Chris.



Syngenta Limited, Registered in England No 2710846
Registered Office : Syngenta Limited, European Regional Centre, Priestley Road, 
Surrey Research Park, Guildford, Surrey, GU2 7YH, United Kingdom



message may contain confidential information. If you are not the designated 
recipient, please notify the sender immediately, and delete the original and 
any copies. Any use of the message by you is prohibited. 


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to