Background Color
Syntax: <colors type="background" …>
Example: <colors use="@ts" label=" Technology
Streams" type="background"> … </colors>
Use: Defines the fill color for the System Model item.
By default, a colors group defines the background color of an item. It
can be applied to any System Model item. By default, it applies to component.
If multiple items match, the color for each is displayed as a band across
the item.
Band spacing
Syntax: <colors use="xpath" spacing="spacing"
type="background" …>
Example: <colors use="@introduced"
spacing="proprotional"> … </colors>
Use: Indicates if the size of each color band is
proportional to the number of matches or even distributed (fixed). The default
is fixed.
Color Direction
Syntax: <colors use="xpath" angle="spacing"
type="background" …>
Example: <colors use="@introduced" angle="30">
… </colors>
Use: Indicates the angle in degrees, offset from vertical
for the color bands. The default value is 0
.
An angle of 0º
means it must be colored from left to right
across the item, in the order they are specified in the
<colors>
group. An angle of 180º
means the
colors go from right to left.
The direction assumes the object is square. If the dimensions are not
even, the colors are scaled across the object.
Color gradient
Syntax: <colors use="xpath" blur="blur"
type="background" …>
Example: <colors use="@introduced" blur="
0.75"> … </colors>
Use: Indicates the amount of blurring of the color bands
in the range from 0
to 1
. The default value
0
indicates that each color has a hard boundary. The value
1
indicates that the colors appear even across the object.