Difference between revisions of "(Image):getWrap"
(some stylistic changes) |
m (paren style :)) |
||
Line 5: | Line 5: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | horiz, vert = Image:getWrap() | + | horiz, vert = Image:getWrap( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === |
Revision as of 14:58, 28 February 2010
Gets the wrapping properties 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.