phatch(xx, yy, angle) hatches a polygon with vertices at (xx, yy) using the given pattern.
pattern is a single character from the following:
| / - \ : lines at the angle suggested by the shape of the character
+ x : combination of either orthogonal or diagonal lines
: * : marks in an orthogonal or hexagonal pattern.
Lines are rendered with the current
pen.
Instead of a pattern, a numeric angle may be specified in radians using the rad argument or in degrees using the deg argument. Either way, angles are counterclockwise from horizontal.
Optional argument spacing specifies space between lines, in millimeters or points. The default is 3.5 mm (10 points).
By default, the line pattern is aligned with the center of the polygon, but offset shifts this center by the given number of millimeters or points.
x and Y are relative to the top
-left of the panel, or to the position set by
at. Positive is right and down.
NaN values in xx or yy may be used to separate multiple polygons to be drawn with common line pattern alignment.
If you draw right up to any edge of the panel,
shrink may fail.