Iridescence 1.00
Embedded Graphic Framework
Loading...
Searching...
No Matches
DsOrientation Class Reference

DsOrientation is a class representing the orientation (horizontal or vertical). More...

#include <ds_types.h>

Public Types

enum  Orientation : uint8_t {
  HORIZONTAL = 0 ,
  VERTICAL = 1
}
 Orientation is an enumeration of orientation types.
 

Public Member Functions

 DsOrientation (const Orientation &orientation)
 Creates a DsOrientation object with the specified orientation.
 
bool isVertical (void) const
 Is the orientation vertical?
 
bool isHorizontal (void) const
 Is the orientation horizontal?
 

Detailed Description

DsOrientation is a class representing the orientation (horizontal or vertical).

Constructor & Destructor Documentation

◆ DsOrientation()

DsOrientation::DsOrientation ( const Orientation orientation)
inline

Creates a DsOrientation object with the specified orientation.

Parameters
orientationOrientation

Member Function Documentation

◆ isHorizontal()

bool DsOrientation::isHorizontal ( void  ) const
inline

Is the orientation horizontal?

Returns
True if the orientation is horizontal

◆ isVertical()

bool DsOrientation::isVertical ( void  ) const
inline

Is the orientation vertical?

Returns
True if the orientation is vertical

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