public static class GDD_Parameter.WindowSpecification extends GDD_Parameter
| Modifier and Type | Class and Description |
|---|---|
static class |
GDD_Parameter.WindowSpecification.WindowSpecificationFlag |
GDD_Parameter.DrawingOrderSubsetParameterRetired, GDD_Parameter.SetCurrentDefaultInstruction, GDD_Parameter.WindowSpecificationPARAMETERTYPE_DrawingOrderSubset_RETIRED, PARAMETERTYPE_SetCurrentDefaultInstruction, PARAMETERTYPE_WindowSpecification| Constructor and Description |
|---|
WindowSpecification() |
| 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. |
int |
getBottomEdgeOfGPSWindow() |
GDD_Parameter.WindowSpecification.WindowSpecificationFlag |
getFlags() |
short |
getGeometricParameterFormat() |
int |
getImageResolutionXY() |
int |
getLeftEdgeOfGPSWindow() |
short |
getReserved3() |
byte[] |
getReservedBytesObsolete() |
int |
getRightEdgeOfGPSWindow() |
int |
getTopEdgeOfGPSWindow() |
AFPUnitBase |
getUnitBaseGPS() |
int |
getUnitsPerUnitBaseX() |
int |
getUnitsPerUnitBaseY() |
void |
setBottomEdgeOfGPSWindow(int bottomEdgeOfGPSWindow) |
void |
setFlags(GDD_Parameter.WindowSpecification.WindowSpecificationFlag flags) |
void |
setGeometricParameterFormat(short geometricParameterFormat) |
void |
setImageResolutionXY(int imageResolutionXY) |
void |
setLeftEdgeOfGPSWindow(int leftEdgeOfGPSWindow) |
void |
setReserved3(short reserved3) |
void |
setReservedBytesObsolete(byte[] reservedBytesObsolete) |
void |
setRightEdgeOfGPSWindow(int rightEdgeOfGPSWindow) |
void |
setTopEdgeOfGPSWindow(int topEdgeOfGPSWindow) |
void |
setUnitBaseGPS(AFPUnitBase unitBaseGPS) |
void |
setUnitsPerUnitBaseX(int unitsPerUnitBaseX) |
void |
setUnitsPerUnitBaseY(int unitsPerUnitBaseY) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
buildGDDParameter, buildSetCurrentDefaultInstruction, getLengthOfFollowingData, getParameterType, 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 GDD_Parameter.WindowSpecification.WindowSpecificationFlag getFlags()
public void setFlags(GDD_Parameter.WindowSpecification.WindowSpecificationFlag flags)
public short getReserved3()
public void setReserved3(short reserved3)
public short getGeometricParameterFormat()
public void setGeometricParameterFormat(short geometricParameterFormat)
public AFPUnitBase getUnitBaseGPS()
public void setUnitBaseGPS(AFPUnitBase unitBaseGPS)
public int getUnitsPerUnitBaseX()
public void setUnitsPerUnitBaseX(int unitsPerUnitBaseX)
public int getUnitsPerUnitBaseY()
public void setUnitsPerUnitBaseY(int unitsPerUnitBaseY)
public int getImageResolutionXY()
public void setImageResolutionXY(int imageResolutionXY)
public int getLeftEdgeOfGPSWindow()
public void setLeftEdgeOfGPSWindow(int leftEdgeOfGPSWindow)
public int getRightEdgeOfGPSWindow()
public void setRightEdgeOfGPSWindow(int rightEdgeOfGPSWindow)
public int getBottomEdgeOfGPSWindow()
public void setBottomEdgeOfGPSWindow(int bottomEdgeOfGPSWindow)
public int getTopEdgeOfGPSWindow()
public void setTopEdgeOfGPSWindow(int topEdgeOfGPSWindow)
public byte[] getReservedBytesObsolete()
public void setReservedBytesObsolete(byte[] reservedBytesObsolete)