public class GraphRenderManager extends Object
| Constructor and Description |
|---|
GraphRenderManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawString(Graphics2D g,
int x,
int y,
String text) |
PaintFormatter |
getPaintFormatter() |
StrokeFormatter |
getStrokeFormatter() |
void |
prepareDrawText(GraphElement shape,
GraphConfig config,
Graphics2D g) |
void |
prepareFillColor(GraphShape shape,
GraphConfig config,
Graphics2D g) |
void |
prepareLineColor(GraphElement shape,
GraphConfig config,
Graphics2D g) |
void |
render(GraphEditorAction action,
Graphics2D g,
GraphConfig config) |
void |
render(GraphElement element,
Graphics2D g,
GraphConfig config) |
void |
render(Graph graph,
Graphics2D g,
GraphConfig config) |
void |
renderPorts(GraphElement element,
Graphics2D g,
GraphConfig config) |
void |
setPaintFormatter(PaintFormatter paintFormatter) |
void |
setStrokeFormatter(StrokeFormatter strokeFormatter) |
public void render(Graph graph, Graphics2D g, GraphConfig config)
public void renderPorts(GraphElement element, Graphics2D g, GraphConfig config)
public void drawString(Graphics2D g, int x, int y, String text)
public void prepareDrawText(GraphElement shape, GraphConfig config, Graphics2D g)
public void prepareLineColor(GraphElement shape, GraphConfig config, Graphics2D g)
public void prepareFillColor(GraphShape shape, GraphConfig config, Graphics2D g)
public void render(GraphElement element, Graphics2D g, GraphConfig config)
public void render(GraphEditorAction action, Graphics2D g, GraphConfig config)
public PaintFormatter getPaintFormatter()
public void setPaintFormatter(PaintFormatter paintFormatter)
public StrokeFormatter getStrokeFormatter()
public void setStrokeFormatter(StrokeFormatter strokeFormatter)
Copyright © 2021 vpc open source initiative. All rights reserved.