-
Notifications
You must be signed in to change notification settings - Fork 17
polygon_2d
CapsAdmin edited this page Dec 9, 2017
·
3 revisions
- polygon_2d:AddNinePatch(...)
- polygon_2d:AddRect(...)
- polygon_2d:CreateObject(meta, override, skip_gc_callback)
- polygon_2d:DrawLine(i, x1, y1, x2, y2, w)
- polygon_2d:Draw(count)
- polygon_2d:SetColor(r, g, b, a)
- polygon_2d:SetNinePatch(i, x, y, w, h, patch_size_w, patch_size_h, corner_size, u_offset, v_offset, uv_scale, skin_w, skin_h)
- polygon_2d:SetRect(i, x, y, w, h, r, ox, oy, rx, ry)
- polygon_2d:SetTriangle(i, x1, y1, x2, y2, x3, y3, u1, v1, u2, v2, u3, v3)
- polygon_2d:SetUV(u1, v1, u2, v2, sw, sh)
- polygon_2d:SetVertex(i, x, y, u, v)