(Image):getWrap

Get the wrapping settings of an Image.

The return values of this function may either be 0 or 1. A zero indicates that the image is not repeated horizontally or vertically, respectively, when the image is drawn with a larger quad than the image's extent. A one indicates that the image is repeated in the corresponding direction.

Function

Synopsis

horiz, vert = Image:getWrap()

Arguments

None

Returns

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

See Also