de.intarsys.pdf.platform.cwt.adapter.awt
Class AwtGraphicsEnvironmentAdapter
java.lang.Object
de.intarsys.pdf.platform.cwt.adapter.CommonGraphicsEnvironmentAdapter
de.intarsys.pdf.platform.cwt.adapter.awt.AwtGraphicsEnvironmentAdapter
- All Implemented Interfaces:
- IGraphicsEnvironmentAdapter
public class AwtGraphicsEnvironmentAdapter
- extends CommonGraphicsEnvironmentAdapter
Method Summary |
BufferedImage |
createImage(de.intarsys.pdf.pd.PDImage pdImage)
|
BufferedImage |
createImage(de.intarsys.pdf.pd.PDImage pdImage,
float[] rgb)
|
void |
drawImage(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
de.intarsys.pdf.pd.PDImage pdImage,
float x,
float y)
|
static AwtGraphicsEnvironmentAdapter |
get()
|
de.intarsys.cwt.environment.IGraphicsEnvironment |
getGraphicsEnvironment()
|
void |
setBackgroundColorPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ColorPaint paint)
|
void |
setBackgroundPatternPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
PatternPaint paint)
|
void |
setBackgroundShadingPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ShadingPaint paint)
|
void |
setForegroundColorPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ColorPaint paint)
|
void |
setForegroundPatternPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
PatternPaint paint)
|
void |
setForegroundShadingPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ShadingPaint paint)
|
AwtGraphicsEnvironmentAdapter
public AwtGraphicsEnvironmentAdapter()
get
public static AwtGraphicsEnvironmentAdapter get()
createImage
public BufferedImage createImage(de.intarsys.pdf.pd.PDImage pdImage)
createImage
public BufferedImage createImage(de.intarsys.pdf.pd.PDImage pdImage,
float[] rgb)
drawImage
public void drawImage(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
de.intarsys.pdf.pd.PDImage pdImage,
float x,
float y)
getGraphicsEnvironment
public de.intarsys.cwt.environment.IGraphicsEnvironment getGraphicsEnvironment()
setBackgroundColorPaint
public void setBackgroundColorPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ColorPaint paint)
setBackgroundPatternPaint
public void setBackgroundPatternPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
PatternPaint paint)
setBackgroundShadingPaint
public void setBackgroundShadingPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ShadingPaint paint)
setForegroundColorPaint
public void setForegroundColorPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ColorPaint paint)
setForegroundPatternPaint
public void setForegroundPatternPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
PatternPaint paint)
setForegroundShadingPaint
public void setForegroundShadingPaint(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
ShadingPaint paint)
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.