public class ImageDrawCmd extends AbstractDrawCmd
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_DIMENSION |
disableClipping, logger| Constructor and Description |
|---|
ImageDrawCmd(ImageReference image) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Image |
getImage() |
java.awt.Shape |
paintOperand(java.awt.Graphics2D g,
Page parentPage,
java.awt.Shape currentShape,
java.awt.Shape clip,
java.awt.geom.AffineTransform base,
OptionalContentState optionalContentState,
boolean paintAlpha,
PaintTimer paintTimer)
Called by the Shapes class to paint all DrawCmd implementations.
|
public ImageDrawCmd(ImageReference image)
public java.awt.Image getImage()
public java.awt.Shape paintOperand(java.awt.Graphics2D g,
Page parentPage,
java.awt.Shape currentShape,
java.awt.Shape clip,
java.awt.geom.AffineTransform base,
OptionalContentState optionalContentState,
boolean paintAlpha,
PaintTimer paintTimer)
DrawCmdpaintOperand in interface DrawCmdpaintOperand in class AbstractDrawCmdg - graphics context to paint this paint command to.parentPage - parentPage reference used to notify page painters.currentShape - current shape to draw.clip - clip of parent which is the generally the page size.base - base transform of the page.optionalContentState - state of optional content visibility.paintAlpha - enable/disable the alpha painting.paintTimer - painTimer keeps track when a repaint should occur.