This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IGaService gaService = Graphiti.getGaService(); | |
| // Creating Style with given id and description | |
| Style style = super.getStyle(diagram); | |
| style.setId("BlackAndWhiteStyle"); | |
| style.setDescription("A style with white background and black foreground."); | |
| // transparency value | |
| style.setTransparency(0.95); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| style BlackAndWhiteStyle { | |
| description = "A style with white background and black foreground." | |
| transparency = 0.95 | |
| background-color = black | |
| line-color = black | |
| line-style = solid | |
| line-width = 1 | |
| font-color = black | |
| font-name = "Tahoma" | |
| font-size = 10 |
NewerOlder