Show / Hide Table of Contents

    Method psty

    | Improve this Doc View Source

    psty(Pattern)

    plpsty: Select area fill pattern

    Declaration
    public void psty(Pattern patt)
    Parameters
    Type Name Description
    Pattern patt

    The desired pattern index. If patt is zero or less, then a solid fill is (normally, see qualifiers above) used. For patt in the range from 1 to 8 and assuming the driver has not supplied line fill capability itself (most deliberately do not so that line fill patterns look identical for those drivers), the patterns consist of (1) horizontal lines, (2) vertical lines, (3) lines at 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6) lines at -30 degrees, (7) both vertical and horizontal lines, and (8) lines at both 45 degrees and -45 degrees.

    Remarks

    If patt is zero or less use either a hardware solid fill if the drivers have that capability (virtually all do) or fall back to a software emulation of a solid fill using the eighth area line fill pattern. If 0 lt patt le 8, then select one of eight predefined area line fill patterns to use (see plpat if you desire other patterns).

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX