Text
kn::Text Declared in kraken/graphics/Text.hpp
At a glance
16 membersReference
C++ APIshadowColor
variableColor shadowColor {}No description in the source header.
shadowOffset
variableVec2 shadowOffset {}No description in the source header.
Text
functionNo description in the source header.
~Text
function~Text()No description in the source header.
draw
functionNo description in the source header.
setFont
functionvoid setFont(const Font &font) constNo description in the source header.
setWrapWidth
functionvoid setWrapWidth(int wrapWidth) constNo description in the source header.
getWrapWidth
functionint getWrapWidth() constNo description in the source header.
setText
functionvoid setText(const std::string &text) constNo description in the source header.
getText
functionstd::string getText() constNo description in the source header.
setColor
functionvoid setColor(const Color &color) constNo description in the source header.
getColor
functionColor getColor() constNo description in the source header.
getRect
functionRect getRect() constNo description in the source header.
getSize
functionVec2 getSize() constNo description in the source header.
getWidth
functionint getWidth() constNo description in the source header.
getHeight
functionint getHeight() constNo description in the source header.