NumerableIcon.setLabel

Sets the currently displayed value of self to the string in label. Setting an empty label removes the emblem.

Note that this is meant for displaying short labels, such as roman numbers, or single letters. For roman numbers, consider using the Unicode characters U+2160 - U+217F. Strings longer than two characters will likely not be rendered very well.

If this method is called, and a number was already set on the icon, it will automatically be reset to zero before rendering the label, i.e. the last method called between NumerableIcon.setLabel and NumerableIcon.setCount has always priority.

class NumerableIcon
void
setLabel
(
string label
)

Parameters

label string

a short label, or NULL

Meta