DynamicPDF by ceTe Software

com.cete.dynamicpdf.imaging
Class TiffImageData

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by com.cete.dynamicpdf.imaging.ImageData
          extended by com.cete.dynamicpdf.imaging.TiffImageData

public class TiffImageData
extends ImageData

Class represents the data of a TIFF image contained in a TIFF image file.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 void draw(DocumentWriter writer)
          Draws the TIFF image data to the given DocumentWriter object.
 void draw(OperatorWriter writer, float pdfX, float pdfY, float width, float height)
          Draws the TIFF image data to the given PageWriter object.
 int getHeight()
          Gets the height of the image.
 int getRequiredPdfObjects()
          Gets the number of PDF objects required by the TIFF image.
 float getScaleX()
          Gets the X scale of the image.
 float getScaleY()
          Gets the Y scale of the image.
 int getWidth()
          Gets the width of the image.
 
Methods inherited from class com.cete.dynamicpdf.imaging.ImageData
getHorizontalDpi, getImage, getImage, getInterpolate, getPage, getPage, getPointHeight, getPointWidth, getResourceType, getVerticalDpi, setInterpolate
 
Methods inherited from class com.cete.dynamicpdf.Resource
getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequiredPdfObjects

public int getRequiredPdfObjects()
Gets the number of PDF objects required by the TIFF image.

Overrides:
getRequiredPdfObjects in class Resource
Returns:
the number of PDF objects required by the TIFF image.

getWidth

public int getWidth()
Gets the width of the image.

Specified by:
getWidth in class ImageData
Returns:
the width of the image.

getHeight

public int getHeight()
Gets the height of the image.

Specified by:
getHeight in class ImageData
Returns:
the height of the image.

getScaleX

public float getScaleX()
Gets the X scale of the image.

Specified by:
getScaleX in class ImageData
Returns:
the X scale of the image.

getScaleY

public float getScaleY()
Gets the Y scale of the image.

Specified by:
getScaleY in class ImageData
Returns:
the Y scale of the image.

draw

public void draw(OperatorWriter writer,
                 float pdfX,
                 float pdfY,
                 float width,
                 float height)
Draws the TIFF image data to the given PageWriter object.

Overrides:
draw in class ImageData
Parameters:
writer - PageWriter class to receive the TIFF image data's output.
pdfX - X PDF coordinate for the TIFF image when drawn.
pdfY - Y PDF Coordinate for the TIFF image when drawn.
width - Width of the TIFF image when drawn.
height - Height of the TIFF image when drawn.
See Also:
PageWriter

draw

public void draw(DocumentWriter writer)
Draws the TIFF image data to the given DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to receive the TIFF image data's output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software