HP Smart Client Administrator's Guide

Custom attributes:
type
Parameter: [linear|radial]
Example: type: linear;
Default: linear
Use: Linear gradients can be either horizontally-oriented or vertically-oriented; coordinates given in
colors are a fraction of width or height. Radial gradients are centered on the screen center;
coordinates are a fraction of the distance to the screen edge (top and bottom or left and right).
axis
Parameter: [height|width]
Example: axis: width;
Default: height
Use: For linear gradients, axis specifies the direction of the gradient (top-to-bottom or left-to-right).
For radial gradients, specifies whether the radius of the gradient is half screen height or half
screen width.
metric
Parameter: [linear|squared]
Example: metric: linear;
Default: squared
Use: For radial gradients, metric specifies whether the color interpolation between points is done
with a dx2+dy2 distance calculation (squared) or the square root of number (linear). Squared
interpolation is somewhat quicker to draw.
colors
Parameter: space-separated list of [value,]color pairs, where value is a [0.0-1.0] floating point
fraction of the axis of measurement (e.g., the width of the screen in a linear width-axis gradient)
and color is the color of the gradient at that point. The value runs top-to-bottom for vertical linear
gradients; left-to-right for horizontal linear gradients; and center-to-edge for radial gradients.
Colors are specified as either six-digit hex or three 0-255 comma-separated values.
Example: colors: 0.0,000000 0.5,996600 0.9,255,255,255;
Use: colors will be interpolated along the linear or radial axis between the points and colors
specified. If no values are given, the colors are assumed to be evenly spaced on the axis between
0.0 and 1.0. If the first fractional value is greater than 0.0, the first color will be used in the space
between the screen edge and the first value. Likewise, if the last value is less than 1.0, the last
color will be used between the last value and the screen edge. Values must be in increasing sorted
values, though a value can be repeated for a sharp transition. For instance, “0.0,CCCCCC
Using Profile Editor
27