FontMethods::GetShadowColor
function · ui · primitive
- Address
0x79f910· 175 bytes, up to0x79f9be- Meaning
- Returns the red, green, blue and alpha of the shadow colour as unrounded doubles
- Confidence
- verified, proof one
- Finding
- ui/fontmethods#reading-colours
Finding: Reading colours in ui: font accessors from Lua
The getters unpack the bytes of the stored colour and multiply each by the float 1/255, returning red, green, blue and alpha as
doubles. FontString:GetTextColor returns red as the unrounded product and rounds green, blue and alpha to a float before
widening them; the shared getter, the shadow getters and the Button getters return all four unrounded.
The derivation is in the doc.
Callers 5
- ScrollingMessageFrame::GetShadowColor ui
- MessageFrame::GetShadowColor ui
- SimpleHTML::GetShadowColor ui
- EditBox::GetShadowColor ui
- FontInstance::GetShadowColor ui
Callees 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.