MODE_NEON
is a minor mode
which is a variation of
MODE_GRADIENT
.
It displays the link with transparent colors, giving a glowing effect
(this works best with larger links and with darker backgrounds). The
border is automatically disabled in this mode. An example of using
Neon mode is to mark link selection, as shown in the top link in figure
The wave effect for a link with a border.
(The second link shows the same link when it is not selected.)
Previous examples already demonstrated some of the many
possibilities that the link appearance offers. By combining some of
the properties, you can achieve some fancy effects, such as the “road”
link in figure
The wave effect for a link with a border,
where the large border is the same gray color as the link foreground,
and the white
alternateColor
looks like
the middle line of a road.
Selected (neon) and not selected links, and a road link
link {
lineWidth : 10 ;
lineJoin : JOIN_ROUND ;
endCap : CAP_ROUND ;
foreground : 255,181,197 ;
}
link.top {
mode : MODE_NEON ;
lineWidth : 20 ;
}
link.center {
borderWidth : 1 ;
}
link.bottom {
mode : MODE_UNICOLOR;
endCap : CAP_BUTT ;
lineWidth : 15 ;
foreground : darkGray ;
lineStyle : 20,10;
lineStylePhase : 5 ;
alternateColor : white ;
borderWidth : 12 ;
borderUpColor : darkGray ;
curved : 0.65 ;
}