World of Warcraft Forever API · SimpleLineAPI.md, for your AI
SimpleLineAPI (widget methods)
9 functions, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
ClearAllPoints
self:ClearAllPoints()
Protected: only Blizzard's own code may call it.
GetEndPoint
relativePoint, relativeTo, offsetX, offsetY = self:GetEndPoint()
Returns
relativePoint | FramePoint | |
|---|---|---|
relativeTo | ScriptRegion | |
offsetX | uiUnit | |
offsetY | uiUnit |
GetHitRectThickness
thickness = self:GetHitRectThickness()
Returns
thickness | uiUnit |
|---|
GetStartPoint
relativePoint, relativeTo, offsetX, offsetY = self:GetStartPoint()
Returns
relativePoint | FramePoint | |
|---|---|---|
relativeTo | ScriptRegion | |
offsetX | uiUnit | |
offsetY | uiUnit |
GetThickness
thickness = self:GetThickness()
Returns
thickness | uiUnit |
|---|
SetEndPoint
self:SetEndPoint(relativePoint, relativeTo, [offsetX], [offsetY])
Arguments
relativePoint | FramePoint | |
|---|---|---|
relativeTo | ScriptRegion | |
offsetX | uiUnit default 0 | |
offsetY | uiUnit default 0 |
SetHitRectThickness
self:SetHitRectThickness(thickness)
Arguments
thickness | uiUnit |
|---|
SetStartPoint
self:SetStartPoint(relativePoint, relativeTo, [offsetX], [offsetY])
Arguments
relativePoint | FramePoint | |
|---|---|---|
relativeTo | ScriptRegion | |
offsetX | uiUnit default 0 | |
offsetY | uiUnit default 0 |
SetThickness
self:SetThickness(thickness)
Arguments
thickness | uiUnit |
|---|