cz.muni.pdfjbim
Class PdfImageInformation
java.lang.Object
cz.muni.pdfjbim.PdfImageInformation
public class PdfImageInformation
- extends Object
Contains information about size of image and it's position in original PDF
- Author:
- Radim Hatlapatka (hata.radim@gmail.com)
PdfImageInformation
public PdfImageInformation(String key,
int width,
int height,
int objectNum,
int genNum,
int pageNumber)
- Parameters:
key - represents pdf object key to which was associated this imagewidth - represents width of imageheight - represents height of imageobjectNum - genNum - pageNumber - represents page number in original pdf dokument
PdfImageInformation
public PdfImageInformation(String key,
int width,
int height,
int objectNum,
int genNum)
- Parameters:
key - represents pdf object key to which was associated this imagewidth - represents width of imageheight - represents height of imageobjectNum - genNum -
getHeight
public int getHeight()
- Returns:
- height of image
getKey
public String getKey()
- Returns:
- pdf object key of image
getPageNumber
public int getPageNumber()
- Returns:
- page number where the image in pdf was at
getWidth
public int getWidth()
- Returns:
- width of image
getObjectGenNum
public int getObjectGenNum()
- Returns:
- object generic number
setObjectGenNum
public void setObjectGenNum(int objectGenNum)
- sets PDF object generic number
- Parameters:
objectGenNum - generic number to be set
getObjectNum
public int getObjectNum()
- Returns:
- object number
setObjectNum
public void setObjectNum(int objectNum)
- Parameters:
objectNum - number to be set as PDF object number
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Faculty of Informatics, Masaryk University, Brno. All Rights Reserved.