Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
PAINT Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Fills a graphics area with a specified color or pattern; not available when
forms are showing.
PAINT [STEP] (x!,y!)[,[{color% | tile$}] [,[bordercolor&] [,background$]]]
■ STEP Specifies that coordinates are relative to the current
graphics cursor position
■ (x!,y!) Screen coordinates where painting begins
■ color% Color attribute that sets the fill color
■ tile$ Fill pattern 8 bits wide and up to 64 bytes long,
defined as:
tile$ = CHR$(arg1) + CHR$(arg2) + ... + CHR$(argn%)
where arguments to CHR$ are numbers between 0 and 255,
inclusive
■ bordercolor& Color attribute that specifies the color of the
filled area's border
■ background$ Specifies 1-byte, 8-pixel "background tile slice"
See Also
◄CHR$ Function► ◄Color Attributes and Values (SCREEN)►
◄Graphics Command Summary► ◄Paint Event►