API TextureBase SetVertexOffset

Sets a vertex offset for the texture.
 TextureBase:SetVertexOffset(vertexIndex, offsetX, offsetY)
==Arguments==
:;vertexIndex: - Defined in Constants.lua
:: 
UPPER_LEFT_VERTEX = 1;
LOWER_LEFT_VERTEX = 2;
UPPER_RIGHT_VERTEX = 3;
LOWER_RIGHT_VERTEX = 4;
</onlyinclude>
:;offsetX:
:;offsetY:
==Example==
Sets the upperleft vertex offset.
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("interface/icons/inv_mushroom_11")
tex:SetVertexOffset(UPPER_LEFT_VERTEX, 20, 0)
API_TextureBase_SetVertexOffset_01.png|(20, 0)
API_TextureBase_SetVertexOffset_02.png|(-20, 0)
API_TextureBase_SetVertexOffset_03.png|(0, 20)
API_TextureBase_SetVertexOffset_04.png|(-20, 20)
==Patch changes==