Package org.apache.fop.afp.goca
Class GraphicsSetArcParameters
- java.lang.Object
-
- org.apache.fop.afp.modca.AbstractAFPObject
-
- org.apache.fop.afp.goca.AbstractGraphicsDrawingOrder
-
- org.apache.fop.afp.goca.AbstractGraphicsCoord
-
- org.apache.fop.afp.goca.GraphicsSetArcParameters
-
- All Implemented Interfaces:
Streamable
,StructuredData
public class GraphicsSetArcParameters extends AbstractGraphicsCoord
Sets the arc parameters for a GOCA graphics arc (circle/ellipse)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
-
-
Field Summary
-
Fields inherited from class org.apache.fop.afp.goca.AbstractGraphicsCoord
coords, relative
-
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH
-
-
Constructor Summary
Constructors Constructor Description GraphicsSetArcParameters(int xmaj, int ymin, int xmin, int ymaj)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte
getOrderCode()
Returns the order code of this structured fieldjava.lang.String
toString()
-
Methods inherited from class org.apache.fop.afp.goca.AbstractGraphicsCoord
addCoords, getCoordinateDataStartIndex, getData, getDataLength, isRelative, writeToStream
-
Methods inherited from class org.apache.fop.afp.goca.AbstractGraphicsDrawingOrder
getName
-
Methods inherited from class org.apache.fop.afp.modca.AbstractAFPObject
copySF, copySF, truncate, writeChunksToStream, writeObjects
-
-
-
-
Constructor Detail
-
GraphicsSetArcParameters
public GraphicsSetArcParameters(int xmaj, int ymin, int xmin, int ymaj)
Constructor- Parameters:
xmaj
- x coordinate of the major axis pointymin
- y coordinate of the minor axis pointxmin
- x coordinate of the minor axis pointymaj
- y coordinate of the major axis point
-
-
Method Detail
-
getOrderCode
protected byte getOrderCode()
Returns the order code of this structured field- Specified by:
getOrderCode
in classAbstractGraphicsDrawingOrder
- Returns:
- the order code of this structured field
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractGraphicsCoord
-
-