|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.AbstractCustomNodePainter
yext.svg.view.SVGPainter
public class SVGPainter
A delegate painter for GenericNodeRealizer that can display
SVG graphics.
| Constructor Summary | |
|---|---|
SVGPainter(SVGModel model)
Creates a new SVGIcon that displays the given SVG model |
|
SVGPainter(URL svgURL)
Creates a new SVGPainter that displays the SVG graphics loaded from the given URL. |
|
| Method Summary | |
|---|---|
SVGModel |
getModel()
Returns the underlying SVG model of this class. |
protected void |
paintNode(NodeRealizer context,
Graphics2D graphics,
boolean sloppy)
Paints the SVG on the given graphics context. |
void |
setModel(SVGModel model)
Sets the underlying SVG model of this class. |
| Methods inherited from class y.view.AbstractCustomNodePainter |
|---|
backupGraphics, getFillColor, getFillColor2, getFillPaint, getLineColor, getLinePaint, getLineStroke, initializeFill, initializeLine, paint, paintSloppy, restoreGraphics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGPainter(URL svgURL)
public SVGPainter(SVGModel model)
| Method Detail |
|---|
protected void paintNode(NodeRealizer context,
Graphics2D graphics,
boolean sloppy)
paintNode in class AbstractCustomNodePaintersloppy - is currently ignored.public SVGModel getModel()
public void setModel(SVGModel model)
|
© Copyright 2000-2007, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||