org.arakhne.neteditor.fig.graphics
public class ViewGraphicsUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ViewGraphicsUtil.Factory
Factory to create ViewVector2D.
|
| Constructor and Description |
|---|
ViewGraphicsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ViewGraphics2D |
createViewGraphics(VectorGraphics2D g,
boolean antialiasing,
boolean isForPrinting)
Create a ViewGraphics2D that is delegating to the given
VectorGraphics2D.
|
static ViewGraphics2D |
createViewGraphics(VectorGraphics2D g,
boolean antialiasing,
boolean isForPrinting,
Graphics2DLOD lod)
Create a ViewGraphics2D that is delegating to the given
VectorGraphics2D.
|
static void |
setFactory(ViewGraphicsUtil.Factory factory)
Change the inner factory.
|
public static void setFactory(ViewGraphicsUtil.Factory factory)
factory - is the new factory.public static ViewGraphics2D createViewGraphics(VectorGraphics2D g, boolean antialiasing, boolean isForPrinting)
g - antialiasing - permits to force the anti-aliasing flag for the target graphical contextisForPrinting - indicates if this graphics environment is for printing or not.public static ViewGraphics2D createViewGraphics(VectorGraphics2D g, boolean antialiasing, boolean isForPrinting, Graphics2DLOD lod)
g - antialiasing - permits to force the anti-aliasing flag for the target graphical contextisForPrinting - indicates if this graphics environment is for printing or not.lod - is the desired Level-Of-DetailsCopyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor