Package org.apache.fop.afp.goca
Class GraphicsSetPatternSymbol
java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.goca.AbstractGraphicsDrawingOrder
org.apache.fop.afp.goca.GraphicsSetPatternSymbol
- All Implemented Interfaces:
Streamable
,StructuredData
Sets the pattern symbol to use when filling following GOCA 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
blank (same as no fill)static final byte
diagonal lines, bottom left to top right 1static final byte
diagonal lines, bottom left to top right 2static final byte
diagonal lines, top left to bottom right 1static final byte
diagonal lines, top left to bottom right 2static final byte
dotted density 1static final byte
dotted density 2static final byte
dotted density 3static final byte
dotted density 4static final byte
dotted density 5static final byte
dotted density 6static final byte
dotted density 7static final byte
dotted density 8static final byte
horizontal linesstatic final byte
no fillstatic final byte
solid fillstatic final byte
dotted density 9Fields 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
-
DOTTED_DENSITY_1
public static final byte DOTTED_DENSITY_1dotted density 1- See Also:
-
DOTTED_DENSITY_2
public static final byte DOTTED_DENSITY_2dotted density 2- See Also:
-
DOTTED_DENSITY_3
public static final byte DOTTED_DENSITY_3dotted density 3- See Also:
-
DOTTED_DENSITY_4
public static final byte DOTTED_DENSITY_4dotted density 4- See Also:
-
DOTTED_DENSITY_5
public static final byte DOTTED_DENSITY_5dotted density 5- See Also:
-
DOTTED_DENSITY_6
public static final byte DOTTED_DENSITY_6dotted density 6- See Also:
-
DOTTED_DENSITY_7
public static final byte DOTTED_DENSITY_7dotted density 7- See Also:
-
DOTTED_DENSITY_8
public static final byte DOTTED_DENSITY_8dotted density 8- See Also:
-
VERTICAL_LINES
public static final byte VERTICAL_LINESdotted density 9- See Also:
-
HORIZONTAL_LINES
public static final byte HORIZONTAL_LINEShorizontal lines- See Also:
-
DIAGONAL_LINES_BLTR_1
public static final byte DIAGONAL_LINES_BLTR_1diagonal lines, bottom left to top right 1- See Also:
-
DIAGONAL_LINES_BLTR_2
public static final byte DIAGONAL_LINES_BLTR_2diagonal lines, bottom left to top right 2- See Also:
-
DIAGONAL_LINES_TLBR_1
public static final byte DIAGONAL_LINES_TLBR_1diagonal lines, top left to bottom right 1- See Also:
-
DIAGONAL_LINES_TLBR_2
public static final byte DIAGONAL_LINES_TLBR_2diagonal lines, top left to bottom right 2- See Also:
-
NO_FILL
public static final byte NO_FILLno fill- See Also:
-
SOLID_FILL
public static final byte SOLID_FILLsolid fill- See Also:
-
BLANK
public static final byte BLANKblank (same as no fill)- See Also:
-
-
Constructor Details
-
GraphicsSetPatternSymbol
public GraphicsSetPatternSymbol(byte pattern) Main constructor- Parameters:
pattern
- the pattern symbol to use
-
-
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
-