public static class IDD_SelfDefiningField.SetExtendedBilevelImageColor extends IDD_SelfDefiningField
IDD_SelfDefiningField.IOCAFunctionSetIdentification, IDD_SelfDefiningField.SelfDefiningFieldType, IDD_SelfDefiningField.SetBilevelImageColor, IDD_SelfDefiningField.SetExtendedBilevelImageColor, IDD_SelfDefiningField.UnknownSelfDefiningField| Constructor and Description |
|---|
SetExtendedBilevelImageColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
Decodes the given AFP data.
Parameter length specifies the length in bytes of the data to be decoded, beginning with position offset. |
AFPColorSpace |
getColorSpace() |
byte[] |
getColorValue() |
byte |
getNrOfBitsComponent1() |
byte |
getNrOfBitsComponent2() |
byte |
getNrOfBitsComponent3() |
byte |
getNrOfBitsComponent4() |
short |
getReserved2() |
byte[] |
getReserved4_7() |
void |
setColorSpace(AFPColorSpace colorSpace) |
void |
setColorValue(byte[] colorValue) |
void |
setNrOfBitsComponent1(byte nrOfBitsComponent1) |
void |
setNrOfBitsComponent2(byte nrOfBitsComponent2) |
void |
setNrOfBitsComponent3(byte nrOfBitsComponent3) |
void |
setNrOfBitsComponent4(byte nrOfBitsComponent4) |
void |
setReserved2(short reserved2) |
void |
setReserved4_7(byte[] reserved4_7) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
getFieldType, getLengthOfFollowingData, setFieldType, setLengthOfFollowingDatapublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteablesfData - contains the AFP data to decode.offset - the byte index position where the decoding should start.length - the length in bytes of the data to be decoded, beginning with position offset.config - contains parameter used for decoding.AFPParserException - if the given AFP data are invalid.public void writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
throws java.io.IOException
IAFPDecodeableWriteableos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public short getReserved2()
public void setReserved2(short reserved2)
public AFPColorSpace getColorSpace()
public void setColorSpace(AFPColorSpace colorSpace)
public byte[] getReserved4_7()
public void setReserved4_7(byte[] reserved4_7)
public byte getNrOfBitsComponent1()
public void setNrOfBitsComponent1(byte nrOfBitsComponent1)
public byte getNrOfBitsComponent2()
public void setNrOfBitsComponent2(byte nrOfBitsComponent2)
public byte getNrOfBitsComponent3()
public void setNrOfBitsComponent3(byte nrOfBitsComponent3)
public byte getNrOfBitsComponent4()
public void setNrOfBitsComponent4(byte nrOfBitsComponent4)
public byte[] getColorValue()
public void setColorValue(byte[] colorValue)