org.mftech.dawn.codegen.helpers
Class FigureHelper
java.lang.Object
org.mftech.dawn.codegen.helpers.FigureHelper
public class FigureHelper
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
getBackgroundColor(org.eclipse.gmf.gmfgraph.RealFigure figure)
|
static java.lang.String |
getBorderSize(org.eclipse.gmf.gmfgraph.RealFigure figure)
|
static java.lang.String |
getColor(org.eclipse.gmf.gmfgraph.Color color)
|
static java.lang.String |
getLineBackgroundColor(org.eclipse.gmf.gmfgraph.RealFigure figure)
|
static java.lang.String |
transformPoints(java.util.List<org.eclipse.gmf.gmfgraph.Point> templatePoints)
|
static java.lang.String |
transformPointsForDrawLine(java.util.List<org.eclipse.gmf.gmfgraph.Point> templatePoints)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FigureHelper
public FigureHelper()
getBorderSize
public static java.lang.String getBorderSize(org.eclipse.gmf.gmfgraph.RealFigure figure)
- Parameters:
figure -
- Returns:
getBackgroundColor
public static java.lang.String getBackgroundColor(org.eclipse.gmf.gmfgraph.RealFigure figure)
- Parameters:
figure -
- Returns:
getLineBackgroundColor
public static java.lang.String getLineBackgroundColor(org.eclipse.gmf.gmfgraph.RealFigure figure)
- Parameters:
figure -
- Returns:
getColor
public static java.lang.String getColor(org.eclipse.gmf.gmfgraph.Color color)
transformPointsForDrawLine
public static java.lang.String transformPointsForDrawLine(java.util.List<org.eclipse.gmf.gmfgraph.Point> templatePoints)
transformPoints
public static java.lang.String transformPoints(java.util.List<org.eclipse.gmf.gmfgraph.Point> templatePoints)