public class Tile extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
Tile() |
Modifier and Type | Method and Description |
---|---|
void |
setBandImage(BandImage bandImage) |
void |
setIDEStructureParameter(IDEStructureParameter ideStructureParameter) |
void |
setImageData(byte[] imageData) |
void |
setImageEncodingParameter(byte encoding) |
void |
setImageIDESizeParameter(byte ideSize) |
void |
setPosition(TilePosition tilePosition) |
void |
setSize(TileSize tileSize) |
void |
setTransparencyMask(TransparencyMask transparencyMask) |
protected static void |
writeChunksToStream(byte[] data,
byte[] dataHeader,
int lengthOffset,
int maxChunkLength,
OutputStream os) |
void |
writeContent(OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(OutputStream os)
Helper method to write the start of the Object.
|
writeToStream
copySF, copySF, truncate, writeObjects
public void writeContent(OutputStream os) throws IOException
AbstractStructuredObject
writeContent
in class AbstractStructuredObject
os
- The stream to write toIOException
- throws an I/O exception if one occurredprotected void writeStart(OutputStream os) throws IOException
AbstractStructuredObject
writeStart
in class AbstractStructuredObject
os
- The stream to write toIOException
- throws an I/O exception if one occurredprotected void writeEnd(OutputStream os) throws IOException
AbstractStructuredObject
writeEnd
in class AbstractStructuredObject
os
- The stream to write toIOException
- an I/O exception if one occurredpublic void setPosition(TilePosition tilePosition)
public void setSize(TileSize tileSize)
public void setImageData(byte[] imageData)
protected static void writeChunksToStream(byte[] data, byte[] dataHeader, int lengthOffset, int maxChunkLength, OutputStream os) throws IOException
IOException
public void setImageEncodingParameter(byte encoding)
public void setImageIDESizeParameter(byte ideSize)
public void setIDEStructureParameter(IDEStructureParameter ideStructureParameter)
public void setBandImage(BandImage bandImage)
public void setTransparencyMask(TransparencyMask transparencyMask)
Copyright © 2025 Apache Software Foundation. All rights reserved.