|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.Arrow
A yFiles FLEX arrow data object.
Field Summary | |
static java.lang.String |
TYPE_CIRCLE
A circular arrow |
static java.lang.String |
TYPE_CROSS
A cross shaped arrow. |
static java.lang.String |
TYPE_CUSTOM
Custom arrow. |
static java.lang.String |
TYPE_DEFAULT
Default arrow |
static java.lang.String |
TYPE_DELTA
A triangular arrow. |
static java.lang.String |
TYPE_DIAMOND
A diamond shaped arrow |
static java.lang.String |
TYPE_NONE
No arrow |
static java.lang.String |
TYPE_SHORT
A short and broad arrow. |
static java.lang.String |
TYPE_SIMPLE
A simple arrow. |
static java.lang.String |
TYPE_SPEARHEAD
An arrow shaped like a spearhead |
Constructor Summary | |
Arrow()
|
Method Summary | |
double |
getCropLength()
Gets the cropping length associated with this instance. |
IFill |
getFill()
Gets the IFill the arrow is filled with. |
double |
getScale()
Gets the scale factor. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
IStroke |
getStroke()
Gets the IStroke the arrow's outline is drawn with. |
java.lang.String |
getType()
The arrow type. |
void |
setCropLength(double cropLength)
Sets the cropping length associated with this instance. |
void |
setFill(IFill fill)
Sets the IFill the arrow is filled with. |
void |
setScale(double scale)
Sets the scale factor. |
void |
setStroke(IStroke stroke)
Sets the IStroke the arrow's outline is drawn with. |
void |
setType(java.lang.String type)
The arrow type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TYPE_CUSTOM
public static final java.lang.String TYPE_NONE
public static final java.lang.String TYPE_DEFAULT
public static final java.lang.String TYPE_SPEARHEAD
public static final java.lang.String TYPE_CIRCLE
public static final java.lang.String TYPE_DIAMOND
public static final java.lang.String TYPE_DELTA
public static final java.lang.String TYPE_SHORT
public static final java.lang.String TYPE_CROSS
public static final java.lang.String TYPE_SIMPLE
Constructor Detail |
public Arrow()
Method Detail |
public IFill getFill()
IFill
the arrow is filled with.
public void setFill(IFill fill)
IFill
the arrow is filled with.
fill
- public IStroke getStroke()
IStroke
the arrow's outline is drawn with.
public void setStroke(IStroke stroke)
IStroke
the arrow's outline is drawn with.
public java.lang.String getType()
public void setType(java.lang.String type)
public void setCropLength(double cropLength)
IEdgeStyle
implementations to let the edge appear to end shortly
before it's actual target.
public double getCropLength()
IEdgeStyle
implementations to let the edge appear to end shortly
before it's actual target. The default value is 0.0
.
getCropLength
in interface IArrow
public double getScale()
1.0
.
public void setScale(double scale)
public java.util.Collection getSharedInstances()
ISharedInstanceProvider
Collection
for objects that shall be shared.
getSharedInstances
in interface ISharedInstanceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |