Function getLabelSize

#include <Geode/utils/cocos.hpp>cocos2d::CCSizegetLabelSize(,,
intkerning
)

Get the size of a label with given text and font

Parameters

text

The text of the label

font

The font name of the label

kerning

Extra kerning to apply to the label
Return value
The size of the label
Examples0