MCPcopy Create free account
hub / github.com/axmolengine/axmol / LabelWrapByWordTest

Method LabelWrapByWordTest

tests/cpp-tests/Source/LabelTest/LabelTest.cpp:2910–2916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2908}
2909
2910LabelWrapByWordTest::LabelWrapByWordTest()
2911{
2912 _label->setLineSpacing(5);
2913 _label->setAdditionalKerning(2);
2914 _label->setVerticalAlignment(TextVAlignment::CENTER);
2915 _label->setOverflow(Label::Overflow::CLAMP);
2916}
2917
2918std::string LabelWrapByWordTest::title() const
2919{

Callers

nothing calls this directly

Calls 4

setLineSpacingMethod · 0.80
setAdditionalKerningMethod · 0.80
setVerticalAlignmentMethod · 0.80
setOverflowMethod · 0.45

Tested by

no test coverage detected