public class GraphicsSetLineType extends AbstractGraphicsDrawingOrder
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field and Description |
|---|---|
static byte |
DASH_DOT
dashed dotted line type
|
static byte |
DASH_DOUBLE_DOTTED
dash double dotted line type
|
static byte |
DEFAULT
the default line type
|
static byte |
DOTTED
the default line type
|
static byte |
DOUBLE_DOTTED
double dotted line type
|
static byte |
INVISIBLE
invisible line type
|
static byte |
LONG_DASHED
long dashed line type
|
static byte |
SHORT_DASHED
short dashed line type
|
static byte |
SOLID
solid line type
|
LOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
GraphicsSetLineType(byte type)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the data length of this structured field
|
java.lang.String |
toString() |
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getNamecopySF, copySF, truncate, writeChunksToStream, writeObjectspublic static final byte DEFAULT
public static final byte DOTTED
public static final byte SHORT_DASHED
public static final byte DASH_DOT
public static final byte DOUBLE_DOTTED
public static final byte LONG_DASHED
public static final byte DASH_DOUBLE_DOTTED
public static final byte SOLID
public static final byte INVISIBLE
public GraphicsSetLineType(byte type)
type - line typepublic int getDataLength()
public void writeToStream(java.io.OutputStream os)
throws java.io.IOException
os - the outputsteam streamjava.io.IOException - an I/O exception of some sort has occurred.public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.