public class CwtPlatformImage extends Object implements IPlatformImage, de.intarsys.cwt.image.IImage
IImage implementation for an PDF PDImage object.
To render a PDImage, an implementation of
IGraphicsEnvironmentAdapter is looked up, that now knows both about
the IGraphicsEnvironment and the PDImage implementation.
| Constructor and Description |
|---|
CwtPlatformImage(de.intarsys.pdf.pd.PDImage baseImage) |
| Modifier and Type | Method and Description |
|---|---|
void |
doImage(ICSPlatformDevice device) |
void |
drawFromGraphicsContext(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
float x,
float y) |
int |
getHeight() |
de.intarsys.pdf.pd.PDImage |
getPDImage() |
int |
getWidth() |
public void doImage(ICSPlatformDevice device)
doImage in interface IPlatformImagepublic void drawFromGraphicsContext(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
float x,
float y)
drawFromGraphicsContext in interface de.intarsys.cwt.image.IImagepublic int getHeight()
getHeight in interface de.intarsys.cwt.image.IImagepublic de.intarsys.pdf.pd.PDImage getPDImage()
getPDImage in interface IPlatformImagepublic int getWidth()
getWidth in interface de.intarsys.cwt.image.IImageCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.