Setting textureWrapX for a single fill

How can I set textureWrapX and textureWrapY only for a single fill e.g. a ShapeObject?
I found that it can be set globally by display.setDefault which changes it for everything.

Thanks,

You should be able to do:

-- create other objects
display.setDefault( "textureWrapX", "repeat" )
display.setDefault( "textureWrapY", "mirroredRepeat" )
-- create your single object here
display.setDefault( "textureWrapX", "clampToEdge" )
display.setDefault( "textureWrapY", "clampToEdge" )
-- create other objects