TGUI  0.8.9

Public Member Functions

TGUI_CONSTEXPR Vector2f ()
 Default constructor.
 
TGUI_CONSTEXPR Vector2f (float xValue, float yValue)
 Constructor to create from X and Y values.
 
 Vector2f (const sf::Vector2f &vec)
 Copy constructor to create from an sf::Vector2f.
 
 Vector2f (const char *str)
 Constructor to create from a string.
 
 Vector2f (std::string str)
 Constructor to create from a string.
 
 operator sf::Vector2f () const
 Converts this object into an sf::Vector2f object.
 

Public Attributes

float x = 0
 X coordinate of the vector.
 
float y = 0
 Y coordinate of the vector.
 

The documentation for this class was generated from the following file: