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
public class GraphicsSetPatternSymbol extends AbstractGraphicsDrawingOrder
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
Fields Modifier and Type Field Description static byteBLANKblank (same as no fill)static byteDIAGONAL_LINES_BLTR_1diagonal lines, bottom left to top right 1static byteDIAGONAL_LINES_BLTR_2diagonal lines, bottom left to top right 2static byteDIAGONAL_LINES_TLBR_1diagonal lines, top left to bottom right 1static byteDIAGONAL_LINES_TLBR_2diagonal lines, top left to bottom right 2static byteDOTTED_DENSITY_1dotted density 1static byteDOTTED_DENSITY_2dotted density 2static byteDOTTED_DENSITY_3dotted density 3static byteDOTTED_DENSITY_4dotted density 4static byteDOTTED_DENSITY_5dotted density 5static byteDOTTED_DENSITY_6dotted density 6static byteDOTTED_DENSITY_7dotted density 7static byteDOTTED_DENSITY_8dotted density 8static byteHORIZONTAL_LINEShorizontal linesstatic byteNO_FILLno fillstatic byteSOLID_FILLsolid fillstatic byteVERTICAL_LINESdotted density 9-
Fields inherited from class org.apache.fop.afp.modca.AbstractAFPObject
LOG, SF_CLASS, SF_HEADER_LENGTH
-
-
Constructor Summary
Constructors Constructor Description GraphicsSetPatternSymbol(byte pattern)Main constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataLength()Returns the data length of this structured fieldjava.lang.StringtoString()voidwriteToStream(java.io.OutputStream os)DataStream objects must implement the writeToStream() method to write its data to the given OutputStream-
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
-
-
-
-
Field Detail
-
DOTTED_DENSITY_1
public static final byte DOTTED_DENSITY_1
dotted density 1- See Also:
- Constant Field Values
-
DOTTED_DENSITY_2
public static final byte DOTTED_DENSITY_2
dotted density 2- See Also:
- Constant Field Values
-
DOTTED_DENSITY_3
public static final byte DOTTED_DENSITY_3
dotted density 3- See Also:
- Constant Field Values
-
DOTTED_DENSITY_4
public static final byte DOTTED_DENSITY_4
dotted density 4- See Also:
- Constant Field Values
-
DOTTED_DENSITY_5
public static final byte DOTTED_DENSITY_5
dotted density 5- See Also:
- Constant Field Values
-
DOTTED_DENSITY_6
public static final byte DOTTED_DENSITY_6
dotted density 6- See Also:
- Constant Field Values
-
DOTTED_DENSITY_7
public static final byte DOTTED_DENSITY_7
dotted density 7- See Also:
- Constant Field Values
-
DOTTED_DENSITY_8
public static final byte DOTTED_DENSITY_8
dotted density 8- See Also:
- Constant Field Values
-
VERTICAL_LINES
public static final byte VERTICAL_LINES
dotted density 9- See Also:
- Constant Field Values
-
HORIZONTAL_LINES
public static final byte HORIZONTAL_LINES
horizontal lines- See Also:
- Constant Field Values
-
DIAGONAL_LINES_BLTR_1
public static final byte DIAGONAL_LINES_BLTR_1
diagonal lines, bottom left to top right 1- See Also:
- Constant Field Values
-
DIAGONAL_LINES_BLTR_2
public static final byte DIAGONAL_LINES_BLTR_2
diagonal lines, bottom left to top right 2- See Also:
- Constant Field Values
-
DIAGONAL_LINES_TLBR_1
public static final byte DIAGONAL_LINES_TLBR_1
diagonal lines, top left to bottom right 1- See Also:
- Constant Field Values
-
DIAGONAL_LINES_TLBR_2
public static final byte DIAGONAL_LINES_TLBR_2
diagonal lines, top left to bottom right 2- See Also:
- Constant Field Values
-
NO_FILL
public static final byte NO_FILL
no fill- See Also:
- Constant Field Values
-
SOLID_FILL
public static final byte SOLID_FILL
solid fill- See Also:
- Constant Field Values
-
BLANK
public static final byte BLANK
blank (same as no fill)- See Also:
- Constant Field Values
-
-
Method Detail
-
getDataLength
public int getDataLength()
Returns the data length of this structured field- Returns:
- the data length of this structured field
-
writeToStream
public void writeToStream(java.io.OutputStream os) throws java.io.IOExceptionDataStream objects must implement the writeToStream() method to write its data to the given OutputStream- Parameters:
os- the outputsteam stream- Throws:
java.io.IOException- an I/O exception of some sort has occurred.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-