Skip to main content



      Home
Home » Modeling » Graphiti » Line color for shapes(Changing the line color of a shape)
Line color for shapes [message #1065066] Mon, 24 June 2013 04:28 Go to next message
Eclipse UserFriend
Hello,

I am missing a method like setLineColor. Or is there any other possibility to change the color of a line? For exaplme, something like that:

Rectangle rectangle =  = gaService.createRectangle(containerShape);
Color lineColor = gaService.manageColor(targetDiagram, 0, 0, 150);
rectangle.setLineColor(lineColor);


Thank you very much!
Re: Line color for shapes [message #1065199 is a reply to message #1065066] Mon, 24 June 2013 14:23 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
setForeground will change the color used for drawing lines.

Re: Line color for shapes [message #1065245 is a reply to message #1065199] Tue, 25 June 2013 02:13 Go to previous message
Eclipse UserFriend
Thank you Philip, this solved the problem!
Previous Topic:Container shape inside another container shape
Next Topic:Newbie Question - Incremental Development - Updating GA's and Styles
Goto Forum:
  


Current Time: Mon Jul 07 21:25:36 EDT 2025

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

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

Back to the top