TGUI  0.8-dev

Public Member Functions

 Outline (float size=0)
 Default constructor. More...
 
 Outline (float width, float height)
 Constructor that initializes the outline. More...
 
 Outline (float leftBorderWidth, float topBorderHeight, float rightBorderWidth, float bottomBorderHeight)
 Constructor that initializes the outline. More...
 
bool operator== (const Outline &outline) const
 Compares two outlines. More...
 
bool operator!= (const Outline &outline) const
 Compares two outlines. More...
 

Public Attributes

float left
 Width of the left outline.
 
float top
 Height of the top outline.
 
float right
 Width of the right outline.
 
float bottom
 Height of the bottom outline.
 

Constructor & Destructor Documentation

§ Outline() [1/3]

tgui::Outline::Outline ( float  size = 0)
inline

Default constructor.

Parameters
sizeWidth and height of the outline in all directions

§ Outline() [2/3]

tgui::Outline::Outline ( float  width,
float  height 
)
inline

Constructor that initializes the outline.

Parameters
widthWidth of the left and right outline
heightHeight of the top and bottom outline

§ Outline() [3/3]

tgui::Outline::Outline ( float  leftBorderWidth,
float  topBorderHeight,
float  rightBorderWidth,
float  bottomBorderHeight 
)
inline

Constructor that initializes the outline.

Parameters
leftBorderWidthWidth of the left outline
topBorderHeightHeight of the top outline
rightBorderWidthWidth of the right outline
bottomBorderHeightHeight of the bottom outline

Member Function Documentation

§ operator!=()

bool tgui::Outline::operator!= ( const Outline outline) const
inline

Compares two outlines.

Parameters
outlineThe outline to compare with this instance
Returns
Whether the outlines are equal or not

§ operator==()

bool tgui::Outline::operator== ( const Outline outline) const
inline

Compares two outlines.

Parameters
outlineThe outline to compare with this instance
Returns
Whether the outlines are equal or not

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