First commit, step 4 completed
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
local Font =
|
||||
{
|
||||
Name = "Font",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CreateFontFamily",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "members", Type = "table", InnerType = "CreateFontFamilyMemberInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fontFamily", Type = "SimpleFont", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFontInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fontObject", Type = "SimpleFont", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "FontScriptInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFonts",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fontNames", Type = "table", InnerType = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CreateFontFamilyMemberInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "alphabet", Type = "FontAlphabet", Nilable = false },
|
||||
{ Name = "file", Type = "cstring", Nilable = false },
|
||||
{ Name = "height", Type = "uiFontHeight", Nilable = false },
|
||||
{ Name = "flags", Type = "TBFFlags", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FontScriptInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "height", Type = "number", Nilable = false },
|
||||
{ Name = "outline", Type = "string", Nilable = false },
|
||||
{ Name = "shadow", Type = "FontScriptShadowInfo", Nilable = true },
|
||||
{ Name = "fontObject", Type = "SimpleFont", Nilable = false },
|
||||
{ Name = "canBeUserScaled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FontScriptShadowInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "x", Type = "number", Nilable = false },
|
||||
{ Name = "y", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Font);
|
||||
Reference in New Issue
Block a user