Fill Pattern() sets the pattern for filled areas.
win = New Window( "Example",
Graph Box(
Fill Pattern(
[1 0.5 0 0, 0.5 0 0 1, 0 0 1 0.5, 0 1 0.5 0]
);
Polygon( [10 30 90], [88 22 44] );
)
);
win = New Window( "Named Pattern Example",
Graph Box(
Fill Pattern( "vertical light" );
Polygon( [10 30 90], [88 22 44] );
)
);
win = New Window( "Graphic Example",
Graph Box(
Fill Pattern( Open( "$SAMPLE_IMAGES/pi.gif", "gif" ) );
Polygon( [10 30 90], [88 22 44] );
);