Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 884 Bytes

File metadata and controls

40 lines (32 loc) · 884 Bytes

FillPat

Description

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

Parameters

Name Type Description
patNumber LONGINT Index of fill pattern to be set as document default.

Examples

VectorScript

Rect(0,0,2,2);
FillPat(21);
Rect(2,2,4,4);

Python

vs.Rect(0,0,2,2)
vs.FillPat(21)
vs.Rect(2,2,4,4)

Version

Availability: from All Versions

Category