Procedure FillPat sets the active fill pattern for the document. Any objects created after a calling this procedure will use the specified fill pattern.
Fill patterns and their associated constants can be found in the VectorScript Appendix.
PROCEDURE FillPat(patNumber : LONGINT);def vs.FillPat(patNumber):
return None| Name | Type | Description |
|---|---|---|
| patNumber | LONGINT | Index of fill pattern to be set as document default. |
Rect(0,0,2,2);
FillPat(21);
Rect(2,2,4,4);vs.Rect(0,0,2,2)
vs.FillPat(21)
vs.Rect(2,2,4,4)Availability: from All Versions