![]()  | 
  
    Gamedev Framework (gf)
    0.14.0
    
   A C++14 framework for 2D games 
   | 
 
A text object. More...
#include <gf/Tmx.h>

Public Types | |
| enum | HAlign {  HAlign::Left, HAlign::Center, HAlign::Right }  | 
| A horizontal alignment.  More... | |
| enum | VAlign {  VAlign::Top, VAlign::Center, VAlign::Bottom }  | 
| A vertical alignment.  More... | |
  Public Types inherited from gf::TmxObject | |
| enum | Kind {  Rectangle, Ellipse, Polyline, Polygon, Tile, Text, Point }  | 
| The kind of object.  More... | |
Public Attributes | |
| std::string | text | 
| The text of the object.  More... | |
| std::string | fontFamily | 
| The font family.  More... | |
| int | sizeInPixels | 
| The size of the text in pixel.  More... | |
| bool | wrap | 
| The wrap mode.  More... | |
| Color4u | color | 
| The color of the text.  More... | |
| bool | bold | 
| Is the text in bold?  More... | |
| bool | italic | 
| Is the text in italic?  More... | |
| bool | underline | 
| Is the text underlined?  More... | |
| bool | strikeout | 
| Is the text striked out?  More... | |
| bool | kerning | 
| Is the text using kerning?  More... | |
| HAlign | halign | 
| The horizontal alignment of the text.  More... | |
| VAlign | valign | 
| The vertical alignment of the text.  More... | |
  Public Attributes inherited from gf::TmxObject | |
| Kind | kind | 
| The kind of the object.  More... | |
| TmxProperties | properties | 
| The properties of the object.  More... | |
| int | id | 
| The id of the object.  More... | |
| std::string | name | 
| The name of the object.  More... | |
| std::string | type | 
| The type of the object.  More... | |
| Vector2f | position | 
| The position of the object.  More... | |
| double | rotation | 
| The rotation of the object.  More... | |
| bool | visible | 
| The visibility of the object.  More... | |
Additional Inherited Members | |
  Public Member Functions inherited from gf::TmxObject | |
| virtual | ~TmxObject () | 
| Destructor.  More... | |
A text object.
      
  | 
  strong | 
      
  | 
  strong | 
| bool gf::TmxText::bold | 
Is the text in bold?
| Color4u gf::TmxText::color | 
The color of the text.
| std::string gf::TmxText::fontFamily | 
The font family.
| HAlign gf::TmxText::halign | 
The horizontal alignment of the text.
| bool gf::TmxText::italic | 
Is the text in italic?
| bool gf::TmxText::kerning | 
Is the text using kerning?
| int gf::TmxText::sizeInPixels | 
The size of the text in pixel.
| bool gf::TmxText::strikeout | 
Is the text striked out?
| std::string gf::TmxText::text | 
The text of the object.
| bool gf::TmxText::underline | 
Is the text underlined?
| VAlign gf::TmxText::valign | 
The vertical alignment of the text.
| bool gf::TmxText::wrap | 
The wrap mode.
 1.8.13