public class DotColorUtil
extends java.lang.Object
Constructor and Description |
---|
DotColorUtil() |
Modifier and Type | Method and Description |
---|---|
javafx.scene.paint.Color |
computeGraphBackgroundColor(java.lang.String colorScheme,
org.eclipse.gef.dot.internal.language.color.Color dotColor) |
java.lang.String |
computeHtmlColor(java.lang.String colorScheme,
java.lang.String htmlColor)
Returns the java Fx representation of a HTML-like label color attribute
|
java.lang.String |
computeZestColor(java.lang.String colorScheme,
org.eclipse.gef.dot.internal.language.color.Color dotColor)
Returns the javafx representation of a dot color.
|
public java.lang.String computeZestColor(java.lang.String colorScheme, org.eclipse.gef.dot.internal.language.color.Color dotColor)
colorScheme
- The colorscheme attribute value (or null if not defined)dotColor
- The color in dot representation.public javafx.scene.paint.Color computeGraphBackgroundColor(java.lang.String colorScheme, org.eclipse.gef.dot.internal.language.color.Color dotColor)
public java.lang.String computeHtmlColor(java.lang.String colorScheme, java.lang.String htmlColor)
colorScheme
- The colorscheme attribute value (or null if not defined).htmlColor
- The string attribute value.Copyright (c) 2014 itemis AG and others. All rights reserved.