◆ Outline() [1/4]
Default constructor that initializes the outline. 
- Parameters
 - 
  
    | size | Width and height of the outline in all directions  | 
  
   
 
 
◆ Outline() [2/4]
template<typename T , typename  = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> 
  
  
      
        
          | TGUI_CONSTEXPR tgui::Outline::Outline  | 
          ( | 
          T  | 
          size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructor that initializes the outline. 
- Parameters
 - 
  
    | size | Width and height of the outline in all directions  | 
  
   
 
 
◆ Outline() [3/4]
Constructor that initializes the outline. 
- Parameters
 - 
  
    | width | Width of the left and right outline  | 
    | height | Height of the top and bottom outline  | 
  
   
 
 
◆ Outline() [4/4]
Constructor that initializes the outline. 
- Parameters
 - 
  
    | leftBorderWidth | Width of the left outline  | 
    | topBorderHeight | Height of the top outline  | 
    | rightBorderWidth | Width of the right outline  | 
    | bottomBorderHeight | Height of the bottom outline  | 
  
   
 
 
◆ getBottom()
  
  
      
        
          | TGUI_CONSTEXPR float tgui::Outline::getBottom  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returnes the height of the bottom border. 
- Returns
 - Bottom border height 
 
 
 
◆ getLeft()
  
  
      
        
          | TGUI_CONSTEXPR float tgui::Outline::getLeft  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returnes the width of the left border. 
- Returns
 - Left border width 
 
 
 
◆ getOffset()
  
  
      
        
          | TGUI_CONSTEXPR Vector2f tgui::Outline::getOffset  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returnes the width of the left and top borders. 
- Returns
 - Left and top borders 
 
 
 
◆ getRight()
  
  
      
        
          | TGUI_CONSTEXPR float tgui::Outline::getRight  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returnes the width of the right border. 
- Returns
 - Right border width 
 
 
 
◆ getTop()
  
  
      
        
          | TGUI_CONSTEXPR float tgui::Outline::getTop  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returnes the height of the top border. 
- Returns
 - Top border height 
 
 
 
◆ operator!=()
  
  
      
        
          | TGUI_CONSTEXPR bool tgui::Outline::operator!=  | 
          ( | 
          const Outline &  | 
          outline | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Compares two outlines. 
- Parameters
 - 
  
    | outline | The outline to compare with this instance | 
  
   
- Returns
 - Whether the outlines are equal or not 
 
 
 
◆ operator+()
  
  
      
        
          | TGUI_CONSTEXPR Outline tgui::Outline::operator+  | 
          ( | 
          const Outline &  | 
          other | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Adds two outlines together (e.g. to add padding and borders) 
- Parameters
 - 
  
    | other | The outline to add together with this instance  | 
  
   
 
 
◆ operator+=()
  
  
      
        
          | TGUI_CONSTEXPR Outline & tgui::Outline::operator+=  | 
          ( | 
          const Outline &  | 
          other | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Adds an outline to this instance (e.g. to add padding and borders) 
- Parameters
 - 
  
    | other | The outline to add to this instance  | 
  
   
 
 
◆ operator-()
  
  
      
        
          | TGUI_CONSTEXPR Outline tgui::Outline::operator-  | 
          ( | 
          const Outline &  | 
          other | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Subtracts two outlines from each other. 
- Parameters
 - 
  
    | other | The outline to subtract from this instance  | 
  
   
 
 
◆ operator-=()
  
  
      
        
          | TGUI_CONSTEXPR Outline & tgui::Outline::operator-=  | 
          ( | 
          const Outline &  | 
          other | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Subtracts an outline from this instance. 
- Parameters
 - 
  
    | other | The outline to subtract from this instance  | 
  
   
 
 
◆ operator==()
  
  
      
        
          | TGUI_CONSTEXPR bool tgui::Outline::operator==  | 
          ( | 
          const Outline &  | 
          outline | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Compares two outlines. 
- Parameters
 - 
  
    | outline | The 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: