TextT.attributeForName

Get the #AtkTextAttribute type corresponding to a text attribute name.

template TextT(TStruct)
static
AtkTextAttribute
attributeForName
(
string name
)

Parameters

name string

a string which is the (non-localized) name of an ATK text attribute.

Return Value

Type: AtkTextAttribute

the #AtkTextAttribute enumerated type corresponding to the specified name, or #ATK_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.

Meta