Any shape may be filled with a colored pattern (including the uniform pattern)
by first selecting the shape and then choosing
the appropriate pattern in the "Fill" tabpane of the Attributes Editor.
The following patterns are available when exporting to PSTricks:
no filling
Uniform filling with a color that can
be chosen, either amongst the available colors in the predefined
pane (these are actually predefined
PSTricks colors) or the Swatches
pane,
or by altering color components separately
in the RGB (red-green-blue) or HSB (hue-saturation-brightness) panes.
Filling with vertical
lines; default angle is 45 degrees CCW. Color is to be selected
from the color-chooser of the Hatches
tabpane.
Filling with vertical lines and a colored background; the background
color is to be selected from the Fill
tabpane.
Filling with horizontal
lines; default angle is 45 degrees CCW. Color is to be selected
from the color-chooser of the Hatches
tabpane.
Filling with horizontal lines and a colored background; the background
color is to be selected from the Fill
tabpane.
Filling with crosshatches
; default angle is 45 degrees CCW. Color is to be selected
from the color-chooser of the Hatches
tabpane.
Filling with crosshatches and a colored background; the background
color is to be selected from the Fill
tabpane.
Other tips that may prove useful:
-
You can also fill an OPEN polygon like

which results in

- A triangle made up of three independant lines is not a closed polygon, so that
it cannot be filled as is; the workaround consists in selecting the three lines,
right-clicking to open the context popup menu, and selecting
Join selected curves
. Now the three lines form a single path that can
be filled like any other path.
- A ring section
can be filled the same way: simply draw the corresponding arcs,
select them, and then select Join selected curves
(arcs are then converted
to Bezier curves on-the-fly).
- A ring
can be filled by drawing
to circles, making sure that the innermost circle sits on top (by
invoking forward
in the popup-menu),
and then filling the outermost circle in whatever color you may wish, and
finally the innermost one in white.