ArcBasicDocs

LoadBrush

Creates a textured brush.

LoadBrush ( filename$[,flags][,u_scale#][,v_scale#] )

Parameters

filename$
the picture file.
flags (optional)
texture flags, as for LoadTexture. Defaults to 1.
u_scale# (optional)
how big the texture is across, as for ScaleTexture. Defaults to 1.
v_scale# (optional)
how big the texture is down. Defaults to 1.

Description

Loads a texture and creates a brush that uses it, giving back the brush's handle, or 0 if the picture can't be loaded.

See also