ewol::Padding Class Reference

#include <Padding.hpp>

Public Member Functions

 Padding (float _xl, float _yt=0.0f, float _xr=0.0f, float _yb=0.0f)
 
void setValue (float _xl, float _yt=0.0f, float _xr=0.0f, float _yb=0.0f)
 
float x () const
 
float y () const
 
float xLeft () const
 
void setXLeft (float _val)
 
float xRight () const
 
void setXRight (float _val)
 
float yTop () const
 
void setYTop (float _val)
 
float yButtom () const
 
void setYButtom (float _val)
 
Paddingoperator+= (const Padding &_v)
 
Padding operator+ (const Padding &_v)
 

Detailed Description

Simple class to abstarct the padding porperty.

Member Function Documentation

§ operator+()

Padding ewol::Padding::operator+ ( const Padding _v)

§ operator+=()

Padding& ewol::Padding::operator+= ( const Padding _v)

Add a vector to this one.

Parameters
_vThe vector to add to this one

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