Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

icon-fill-colors

Arguments: icon-drawing-view

Returns the value of the icon-fill-colors property of a icon-drawing-view. The value may be set at creation time by passing the icon-fill-colors initarg, or any time later by calling (setf icon-fill-colors).

The colors that are used to draw the interior area of non-pixmap icons on a icon-drawing-view in a chart-or-plot. The value should be a sequence (list or vector) of RGB objects (see make-rgb) and/or symbols that are globally bound to RGB objects. The default value is a list returned by the following (see make-rgb for a list of predefined colors):

(list 'light-blue 'green 'light-red 'magenta 'cyan
      'light-gray 'gray 'yellow)

If the value is nil, then black is used to fill all icons. Otherwise, the first object in the chart-or-plot's sequence of chart-objects is drawn with the first fill color, the second object with the second color, and so on. If there are fewer colors in the list than there are chart-objects, then the drawing code will cycle back through the list of colors as needed.

This property is used only when the draw-icons property is true, the icons-filled property is t, and the icon-images property contains one or more non-pixmap elements. If icons-filled is :hollow then icons are filled with the body-background-color of the chart-or-plot. If icons-filled is :without-border, then icons are filled with the line-colors of the icon-drawing-view rather than the icon-fill-colors, because those typically darker colors look better when there are no icon borders.

See plot-widget, chart-widget and also cg-chart-widget.htm.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version