From e069d28762467969596a66ace8b5cde34427c8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 11 May 2022 17:45:18 +0800 Subject: update submodules --- meta/3rd/love2d/library/love.image.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/3rd/love2d/library/love.image.lua') diff --git a/meta/3rd/love2d/library/love.image.lua b/meta/3rd/love2d/library/love.image.lua index 5db859ae..19d6f825 100644 --- a/meta/3rd/love2d/library/love.image.lua +++ b/meta/3rd/love2d/library/love.image.lua @@ -185,6 +185,12 @@ function ImageData:paste(source, dx, dy, sx, sy, sw, sh) end ---@param a number # The alpha component (0-1). function ImageData:setPixel(x, y, r, g, b, a) end +--- +---Gets the pixel format of the ImageData. +--- +---@return love.PixelFormat format # The pixel format the ImageData was created with. +function ImageData:getFormat() end + --- ---Compressed image data formats. Here and here are a couple overviews of many of the formats. --- -- cgit v1.2.3