jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.adapter.awt
Class AwtGraphicsEnvironmentAdapter

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.adapter.CommonGraphicsEnvironmentAdapter
      extended by de.intarsys.pdf.platform.cwt.adapter.awt.AwtGraphicsEnvironmentAdapter
All Implemented Interfaces:
IGraphicsEnvironmentAdapter

public class AwtGraphicsEnvironmentAdapter
extends CommonGraphicsEnvironmentAdapter


Constructor Summary
AwtGraphicsEnvironmentAdapter()
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwtGraphicsEnvironmentAdapter

public AwtGraphicsEnvironmentAdapter()
Method Detail

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)

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.