Lines Matching refs:Rect
20 Sk.Rect = { left = 0, top = 0, right = 0, bottom = 0 }
21 Sk.Rect.__index = Sk.Rect
23 function Sk.Rect.new(l, t, r, b)
35 setmetatable(rect, Sk.Rect)
39 function Sk.Rect:width()
43 function Sk.Rect:height()
47 function Sk.Rect:isEmpty()
51 function Sk.Rect:isFinite()
59 function Sk.Rect:setEmpty()
66 function Sk.Rect:set(l, t, r, b)
73 function Sk.Rect:offset(dx, dy)
82 function Sk.Rect:inset(dx, dy)