Advertisement
Wildtide

SetShape

May 18th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1.     canvas:SetShape(
  2.         {
  3.             { xProportional = 0.0, yProportional = 0.0 },
  4.             { xProportional = 1.0, yProportional = 0.0 },
  5.             { xProportional = 1.0, yProportional = 1.0 },
  6.             { xProportional = 0.0, yProportional = 1.0 },
  7.             { xProportional = 0.0, yProportional = 0.0 },
  8.         },
  9.         {
  10.             type = "texture",
  11.             source = "CanvasTest",
  12.             texture = "moon.png",
  13.             wrap = "wrap",
  14.         },
  15.         nil
  16.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement