fop 0.95

org.apache.fop.render.afp.modca
Class ImageSizeParameter

java.lang.Object
  extended by org.apache.fop.render.afp.modca.AbstractAFPObject
      extended by org.apache.fop.render.afp.modca.ImageSizeParameter

public class ImageSizeParameter
extends AbstractAFPObject

Describes the measurement characteristics of the image when it is created.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
log
 
Constructor Summary
ImageSizeParameter(int hresol, int vresol, int hsize, int vsize)
          Constructor for a ImageSizeParameter for the specified resolution, hsize and vsize.
 
Method Summary
 void writeDataStream(java.io.OutputStream os)
          Accessor method to write the AFP datastream for the Image Size Parameter
 
Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
writeObjectList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSizeParameter

public ImageSizeParameter(int hresol,
                          int vresol,
                          int hsize,
                          int vsize)
Constructor for a ImageSizeParameter for the specified resolution, hsize and vsize.

Parameters:
hresol - The horizontal resolution of the image.
vresol - The vertical resolution of the image.
hsize - The horizontal size of the image.
vsize - The vertical size of the image.
Method Detail

writeDataStream

public void writeDataStream(java.io.OutputStream os)
                     throws java.io.IOException
Accessor method to write the AFP datastream for the Image Size Parameter

Specified by:
writeDataStream in class AbstractAFPObject
Parameters:
os - The stream to write to
Throws:
java.io.IOException - if an I/O exception occured

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.