Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to create a custom shape?(custom shape)
How to create a custom shape? [message #1774779] Thu, 19 October 2017 14:20 Go to next message
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
Member
I want to create a custom shape. The shape maybe like the pic.index.php/fa/31057/0/
How can i do?
Thanks.
  • Attachment: 11.jpg
    (Size: 2.41KB, Downloaded 418 times)
Re: How to create a custom shape? [message #1774847 is a reply to message #1774779] Fri, 20 October 2017 13:41 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
There is a small example in one of our test tools you can have a look at. Check the class SketchGraphicsAlgorithmRendererFactory as a starting point. Here's the link to our Git repo:
https://git.eclipse.org/c/graphiti/org.eclipse.graphiti.git/tree/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/SketchGraphicsAlgorithmRendererFactory.java

HTH,
Michael
Re: How to create a custom shape? [message #1775195 is a reply to message #1774847] Thu, 26 October 2017 07:52 Go to previous message
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
Member
Thanks Michael. I'am I'm a freshman in Graphiti. So there may be other problems to bother you.
Previous Topic:Alignment actions
Next Topic:Problems saving diagram to image
Goto Forum:
  


Current Time: Fri Apr 19 22:26:07 GMT 2024

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

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

Back to the top