Package org.apache.fop.afp.goca
Class GraphicsSetLineType
java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.goca.AbstractGraphicsDrawingOrder
org.apache.fop.afp.goca.GraphicsSetLineType
- All Implemented Interfaces:
Streamable
,StructuredData
Sets the value of the current line type attribute when stroking GOCA shapes (structured fields)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.afp.modca.AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
dashed dotted line typestatic final byte
dash double dotted line typestatic final byte
the default line typestatic final byte
the default line typestatic final byte
double dotted line typestatic final byte
invisible line typestatic final byte
long dashed line typestatic final byte
short dashed line typestatic final byte
solid line typeFields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the data length of this structured fieldtoString()
void
DataStream objects must implement the writeToStream() method to write its data to the given OutputStreamMethods 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
-
Field Details
-
DEFAULT
public static final byte DEFAULTthe default line type- See Also:
-
DOTTED
public static final byte DOTTEDthe default line type- See Also:
-
SHORT_DASHED
public static final byte SHORT_DASHEDshort dashed line type- See Also:
-
DASH_DOT
public static final byte DASH_DOTdashed dotted line type- See Also:
-
DOUBLE_DOTTED
public static final byte DOUBLE_DOTTEDdouble dotted line type- See Also:
-
LONG_DASHED
public static final byte LONG_DASHEDlong dashed line type- See Also:
-
DASH_DOUBLE_DOTTED
public static final byte DASH_DOUBLE_DOTTEDdash double dotted line type- See Also:
-
SOLID
public static final byte SOLIDsolid line type- See Also:
-
INVISIBLE
public static final byte INVISIBLEinvisible line type- See Also:
-
-
Constructor Details
-
GraphicsSetLineType
public GraphicsSetLineType(byte type) Main constructor- Parameters:
type
- line type
-
-
Method Details
-
getDataLength
public int getDataLength()Returns the data length of this structured field- Returns:
- the data length of this structured field
-
writeToStream
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Parameters:
os
- the outputsteam stream- Throws:
IOException
- an I/O exception of some sort has occurred.
-
toString
-