|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.DashStyle
public class DashStyle
Represents the dash style of a Pen
.
Field Summary | |
---|---|
static DashStyle |
Dash
Deprecated. |
Constructor Summary | |
---|---|
DashStyle()
Initializes a new DashStyle instance. |
|
DashStyle(float[] dashArray,
float dashPhase)
Initializes a new DashStyle instance. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a copy of the DashStyle . |
static DashStyle |
createCustomStyle()
|
static DashStyle |
createDashDotDotStyle()
|
static DashStyle |
createDashDotStyle()
|
static DashStyle |
createDashStyle()
Creates a DashStyle object with period appropriate for the GraphicsUnit |
static DashStyle |
createDotDotStyle()
|
static DashStyle |
createSolidStyle()
|
float[] |
getDashArray()
Returns the array that defines the dash pattern. |
float |
getDashPhase()
Gets a value indicating the start offset into the dash pattern. |
void |
readExternal(java.io.ObjectInput in)
Implements Externalizable. |
void |
writeExternal(java.io.ObjectOutput out)
Implements Externalizable. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final DashStyle Dash
Constructor Detail |
---|
public DashStyle(float[] dashArray, float dashPhase)
DashStyle
instance.
dashArray
- A float array containing dash lengths.dashPhase
- A float value specifying the start offset.public DashStyle()
DashStyle
instance.
Method Detail |
---|
public java.lang.Object clone()
DashStyle
.
clone
in class java.lang.Object
DashStyle
instance.public float[] getDashArray()
public float getDashPhase()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public static DashStyle createDashStyle()
public static DashStyle createSolidStyle()
public static DashStyle createDashDotStyle()
public static DashStyle createDashDotDotStyle()
public static DashStyle createDotDotStyle()
public static DashStyle createCustomStyle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |