Files
wow-weakauras/Meta/LCG.lua
2024-08-24 22:43:07 +02:00

46 lines
2.5 KiB
Lua

---@meta
---@class LCG
LCG = {
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param n? number number of lines. Defaul value is 8;
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.25;
---@param length? number length of lines. Default value depends on region size and number of lines;
---@param th? number thickness of lines. Default value is 2;
---@param xoffset? number offset of glow relative to region border;
---@param yoffset? number offset of glow relative to region border;
---@param border? number set to true to create border under lines;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
PixelGlow_Start = function(frame, color, n, frequency, length, th, xoffset, yoffset, border, key) end,
---@param frame Frame target frame to stop glowing;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
PixelGlow_Stop = function(frame, key) end,
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param n? number number of lines. Defaul value is 4;
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
---@param scale? number scale of particles;
---@param xoffset? number offset of glow relative to region border;
---@param yoffset? number offset of glow relative to region border;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
AutoCastGlow_Start = function(frame, color, n, frequency, scale, xoffset, yoffset, key) end,
---@param frame Frame target frame to stop glowing;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
AutoCastGlow_Stop = function(frame, key) end,
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
---@return nil
ButtonGlow_Start = function(frame, color, frequency) end,
---@param frame Frame target frame to set glowing;
---@return nil
ButtonGlow_Stop = function(frame) end,
}