(Image):setWrap

Sets the wrapping properties of an Image.

This function sets the way an Image is repeated when it is drawn with a Quad that is larger than the image's extent. The parameters may either be 0, which indicates no repeating is to appear in the corresponding direction, or 1, which indicate the image should repeat to fill the Quad.

Function

Synopsis

Image:getWrap( horiz, vert )

Arguments

number horiz
Horizontal wrapping mode of the image.
number vert
Vertical wrapping mode of the image.

Returns

Nothing.

See Also