|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.graphics.PdfGraphicsWidget
com.spire.pdf.graphics.PdfLayoutWidget
com.spire.pdf.graphics.PdfShapeWidget
com.spire.pdf.graphics.PdfImage
com.spire.pdf.graphics.PdfBitmap
public class PdfBitmap
Represents the bitmap images.
Field Summary |
---|
Fields inherited from class com.spire.pdf.graphics.PdfLayoutWidget |
---|
beginPageLayout |
Constructor Summary | |
---|---|
PdfBitmap(java.awt.image.BufferedImage image)
Creates new PdfBitmap instance. |
|
PdfBitmap(java.io.InputStream stream)
Creates new PdfBitmap instance. |
|
PdfBitmap(java.io.InputStream stream,
boolean isSaveHighQuality)
|
|
PdfBitmap(java.lang.String path)
Creates new PdfBitmap instance. |
Method Summary | |
---|---|
int |
getActiveFrame()
Gets or sets the active frame of the bitmap. |
int |
getFrameCount()
Gets the number of frames in the bitmap. |
PdfMask |
getMask()
Gets or sets the mask of bitmap. |
long |
getQuality()
Gets or sets the quality. |
void |
save()
Saves the image into stream. |
void |
setActiveFrame(int value)
|
void |
setMask(PdfMask value)
|
void |
setQuality(long value)
|
Methods inherited from class com.spire.pdf.graphics.PdfImage |
---|
fromFile, fromImage, fromImage, fromStream, getHeight, getPhysicalDimension, getPngDirectToJpeg, getWidth, setPngDirectToJpeg |
Methods inherited from class com.spire.pdf.graphics.PdfShapeWidget |
---|
getBounds |
Methods inherited from class com.spire.pdf.graphics.PdfLayoutWidget |
---|
draw, draw, draw, draw, draw, draw |
Methods inherited from class com.spire.pdf.graphics.PdfGraphicsWidget |
---|
draw, draw, draw |
Constructor Detail |
---|
public PdfBitmap(java.awt.image.BufferedImage image)
image
- The image.public PdfBitmap(java.lang.String path)
path
- The image path.public PdfBitmap(java.io.InputStream stream)
stream
- The stream.public PdfBitmap(java.io.InputStream stream, boolean isSaveHighQuality)
Method Detail |
---|
public int getActiveFrame()
getActiveFrame
in class PdfImage
public void setActiveFrame(int value)
setActiveFrame
in class PdfImage
public int getFrameCount()
public PdfMask getMask()
public void setMask(PdfMask value)
public long getQuality()
public void setQuality(long value)
public void save()
save
in class PdfImage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |