Property
Name |
Type |
Default
Value |
Description
|
---|---|---|---|
alternateColor
|
Color
|
null
|
Sets the
alternate color. |
animateSpeed
|
float
|
0
|
Sets the
animate speed. |
arrowColor
|
Color
|
Color.black
|
Sets the
arrow color. |
arrowMode
|
int
|
ARROW_FILL
|
Sets the
arrow-drawing style. The possible values are:
ARROW_FILL
ARROW_OPEN
ARROW_GRADIENT
ARROW_DECOERRATION
|
arrowPosition
|
float
|
1f
|
Sets the position of the arrow as the ratio of the link length.
For example,
0.5f
is the middle of the link.
|
arrowRatio
|
float
|
1f
|
Sets the
size of the arrow proportionately to the length of the link. |
borderColor
|
Color
|
null
|
Sets the
border color. |
borderColor2
|
Color
|
null
|
Sets the
lower border color. |
borderLineStyle
|
float[]
|
null
|
Sets the
array that represents the lengths of the dash segments for the
border. The possible values are:
Solid
Dot
Dash
DashDot
DashDoubleDot
Alternate
LongDash
DoubleDot
or an array that defines a new line
style. |
borderLineStylePhase
|
float
|
0f
|
Sets the
dash pattern offset for the border. |
borderWidth
|
float
|
0f
|
Sets the
border width. |
curved
|
float
|
0f
|
Sets the
curved appearance and the smoothness of the spline. |
endCap
|
int
|
CAP_SQUARE
|
Sets the
decorations applied to the end of the polyline. The possible
values are:
CAP_BUTT
CAP_ROUND
CAP_SQUARE
|
internalZoom
|
float
|
1f
|
Sets the
internal scale factor. |
lineJoin
|
int
|
JOIN_MITER
|
Sets the
decoration applied when two segments are joined. The possible
values are:
JOIN_BEVEL
JOIN_MITER
JOIN_ROUND
|
lineStyle
|
float[]
|
null
|
Sets the
array that represents the lengths of the dash segments. The
possible values are:
Solid
Dot
Dash
DashDot
DashDoubleDot
Alternate
LongDash
DoubleDot
or an array that defines a new line
style. |
lineStylePhase
|
float
|
0f
|
Sets the
dash pattern offset. |
lineWidth
|
float
|
5f
|
Sets the
line width. |
maxLineWidth
|
float
|
0
|
Sets the
maximum line width when zooming in. |
minLineWidth
|
float
|
0f
|
Sets the
minimum line width when zooming out. |
mode
|
int
|
MODE_GRADIENT
|
Sets the
link-drawing mode. The possible values are:
MODE_TEXTURE
MODE_UNICOLOR
MODE_GRADIENT
MODE_NEON
Caution: Do not use the border with
the mode
ilog.views.sdm.graphic.IlvGeneralLink
.
MODE_NEON
.
|
oriented
|
boolean
|
false
|
Sets the
link as oriented or not oriented. |
qualityLevel
|
int
|
3
|
Controls
the quality of the rendering of the link. You can modify this
property for faster interaction or high quality printing.
The following values achieve the
following effects respectively:
0
: The link is rendered as a single line only.
1
:
MODE_UNICOLOR
is forced, with no border, no wave effect, and a classic arrow.
2
: Gives the effect of
1
with a border.
3
: All, the default value.
4
: Very fine-gradient spectra.
5
: All
BasicStroke
with float value and no cache.
|
wave
|
String
|
"0/0"
|
Sets the wavy outline of the link. Use
0/0
to cancel the wave effect. The value is a formatted string that
describes the wave. The format is
a/p
, where
a
is an
int
representing the amplitude of the wave in pixels and
p
is an
int
representing the period or length of the wave in pixels.
|
object."test.MyLink" { oriented: true; lineWidth: 5; lineStyle: "4,4,2"; endCap: CAP_ROUND; wave: "1/2"; }