public static class GAD_DrawingOrder.GCPARC_PartialArcAtCurrentPosition extends GAD_DrawingOrder
GAD_DrawingOrder.DrawingOrder_HasPoints, GAD_DrawingOrder.GBAR_BeginArea, GAD_DrawingOrder.GBIMG_BeginImageAtGivenPosition, GAD_DrawingOrder.GBOX_BoxAtGivenPosition, GAD_DrawingOrder.GCBEZ_CubicBezierCurveAtGivenPosition, GAD_DrawingOrder.GCBIMG_BeginImageAtCurrentPosition, GAD_DrawingOrder.GCBOX_BoxAtCurrentPosition, GAD_DrawingOrder.GCCBEZ_CubicBezierCurveAtCurrentPosition, GAD_DrawingOrder.GCCHST_CharacterStringAtCurrentPosition, GAD_DrawingOrder.GCFARC_FullArcAtCurrentPosition, GAD_DrawingOrder.GCFLT_FilletAtCurrentPosition, GAD_DrawingOrder.GCHST_CharacterStringAtGivenPosition, GAD_DrawingOrder.GCLINE_LineAtCurrentPosition, GAD_DrawingOrder.GCMRK_MarkerAtCurrentPosition, GAD_DrawingOrder.GCOMT_Comment, GAD_DrawingOrder.GCPARC_PartialArcAtCurrentPosition, GAD_DrawingOrder.GCRLINE_RelativeLineAtCurrentPosition, GAD_DrawingOrder.GDGCH_SegmentCharacteristics, GAD_DrawingOrder.GEAR_EndArea, GAD_DrawingOrder.GEIMD_EndImage, GAD_DrawingOrder.GEPROL_EndProlog, GAD_DrawingOrder.GEXO_ExtendedOrder, GAD_DrawingOrder.GFARC_FullArcAtGivenPosition, GAD_DrawingOrder.GFLT_FilletAtGivenPosition, GAD_DrawingOrder.GIMD_ImageData, GAD_DrawingOrder.GLINE_LineAtGivenPosition, GAD_DrawingOrder.GMRK_MarkerAtGivenPosition, GAD_DrawingOrder.GNOP1_NopOperation, GAD_DrawingOrder.GOCA_Point, GAD_DrawingOrder.GPARC_PartialArcAtGivenPosition, GAD_DrawingOrder.GRLINE_RelativeLineAtGivenPosition, GAD_DrawingOrder.GSAP_SetArcParameters, GAD_DrawingOrder.GSBMX_SetBackgroundMix, GAD_DrawingOrder.GSCA_SetCharacterAngle, GAD_DrawingOrder.GSCC_SetCharacterCell, GAD_DrawingOrder.GSCD_SetCharacterDirection, GAD_DrawingOrder.GSCH_SetCharacterShear, GAD_DrawingOrder.GSCOL_SetColor, GAD_DrawingOrder.GSCP_SetCurrentPosition, GAD_DrawingOrder.GSCR_SetCharacterPrecision, GAD_DrawingOrder.GSCS_SetCharacterSet, GAD_DrawingOrder.GSECOL_SetExtendedColor, GAD_DrawingOrder.GSFLW_SetFractionLineWidth, GAD_DrawingOrder.GSLE_SetLineEnd, GAD_DrawingOrder.GSLJ_SetLineJoin, GAD_DrawingOrder.GSLT_SetLineType, GAD_DrawingOrder.GSLW_SetLineWidth, GAD_DrawingOrder.GSMC_SetMarkerCell, GAD_DrawingOrder.GSMP_SetMarkerPrecision, GAD_DrawingOrder.GSMS_SetMarkerSet, GAD_DrawingOrder.GSMT_SetMarkerSymbol, GAD_DrawingOrder.GSMX_SetMix, GAD_DrawingOrder.GSPCOL_SetProcessColor, GAD_DrawingOrder.GSPS_SetPatternSet, GAD_DrawingOrder.GSPT_SetPatternSymbol| Constructor and Description |
|---|
GCPARC_PartialArcAtCurrentPosition() |
| 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. |
GAD_DrawingOrder.GOCA_Point |
getArcCenter() |
short |
getLengthOfFollowingData() |
short |
getMultiplierFractionalPortion() |
short |
getMultiplierIntegerPortion() |
int |
getStartAngle()
see
setStartAngle(int). |
int |
getSweepAngle()
see
setSweepAngle(int). |
void |
setArcCenter(GAD_DrawingOrder.GOCA_Point arcCenter) |
void |
setLengthOfFollowingData(short lengthOfFollowingData) |
void |
setMultiplierFractionalPortion(short multiplierFractionalPortion) |
void |
setMultiplierIntegerPortion(short multiplierIntegerPortion) |
void |
setStartAngle(int startAngle)
startAngle and sweepAngle are defined as signed 32-bit integers, whose
range is restricted to positive values, that is, X'00000000' to X'7FFFFFFF'. |
void |
setSweepAngle(int sweepAngle)
startAngle and sweepAngle are defined as signed 32-bit integers, whose
range is restricted to positive values, that is, X'00000000' to X'7FFFFFFF'. |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
public 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 getLengthOfFollowingData()
public void setLengthOfFollowingData(short lengthOfFollowingData)
public GAD_DrawingOrder.GOCA_Point getArcCenter()
public void setArcCenter(GAD_DrawingOrder.GOCA_Point arcCenter)
public short getMultiplierIntegerPortion()
public void setMultiplierIntegerPortion(short multiplierIntegerPortion)
public short getMultiplierFractionalPortion()
public void setMultiplierFractionalPortion(short multiplierFractionalPortion)
public int getStartAngle()
setStartAngle(int).public void setStartAngle(int startAngle)
startAngle and sweepAngle are defined as signed 32-bit integers, whose
range is restricted to positive values, that is, X'00000000' to X'7FFFFFFF'. The START and
SWEEP angles are the numbers, in degrees, that result from dividing the integers by 65536
(216) and interpreting the result as a modulo 360 number. The effective range of the angles
is therefore greater than or equal to 0° and less than 360°. For example, if the sweep angle
is specified to be X'00007FFF', its value is 32767÷65536 modulo 360 = .5°.public int getSweepAngle()
setSweepAngle(int).public void setSweepAngle(int sweepAngle)
startAngle and sweepAngle are defined as signed 32-bit integers, whose
range is restricted to positive values, that is, X'00000000' to X'7FFFFFFF'. The START and
SWEEP angles are the numbers, in degrees, that result from dividing the integers by 65536
(216) and interpreting the result as a modulo 360 number. The effective range of the angles
is therefore greater than or equal to 0° and less than 360°. For example, if the sweep angle
is specified to be X'00007FFF', its value is 32767÷65536 modulo 360 = .5°.