NumerableIcon.setCount

Sets the currently displayed value of self to count.

The numeric value is always clamped to make it two digits, i.e. between -99 and 99. Setting a count of zero removes the emblem. If this method is called, and a label was already set on the icon, it will automatically be reset to NULL before rendering the number, i.e. the last method called between NumerableIcon.setCount and NumerableIcon.setLabel has always priority.

class NumerableIcon
void
setCount
(
int count
)

Parameters

count int

a number between -99 and 99

Meta