Package org.apache.fop.afp.ioca
Class TransparencyMask
- java.lang.Object
-
- org.apache.fop.afp.modca.AbstractAFPObject
-
- org.apache.fop.afp.ioca.TransparencyMask
-
- All Implemented Interfaces:
Streamable
public class TransparencyMask extends AbstractAFPObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
-
-
Field Summary
Fields Modifier and Type Field Description private ImageSizeParameter
imageSizeParameter
private byte[]
maskData
private static int
MAX_DATA_LEN
-
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH
-
-
Constructor Summary
Constructors Constructor Description TransparencyMask(byte[] maskData, ImageSizeParameter imageSizeParameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private byte[]
getImageEncodingParameter()
void
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream-
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
-
-
-
Field Detail
-
MAX_DATA_LEN
private static final int MAX_DATA_LEN
- See Also:
- Constant Field Values
-
imageSizeParameter
private ImageSizeParameter imageSizeParameter
-
maskData
private byte[] maskData
-
-
Constructor Detail
-
TransparencyMask
public TransparencyMask(byte[] maskData, ImageSizeParameter imageSizeParameter)
-
-
Method Detail
-
writeToStream
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
Description copied from interface:Streamable
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Parameters:
os
- the outputsteam stream- Throws:
java.io.IOException
- an I/O exception of some sort has occurred.
-
getImageEncodingParameter
private byte[] getImageEncodingParameter()
-
-