Tizen Native API
3.0
|
Dali::Degree Struct Reference
An angle in degrees. More...
Public Member Functions | |
Degree () | |
Default constructor, initialises to 0. | |
Degree (float value) | |
Creates an angle in degrees. | |
DALI_EXPORT_API | Degree (Radian value) |
Creates an angle in degrees from a Radian. | |
Public Attributes | |
float | degree |
The value in degrees. |
Detailed Description
An angle in degrees.
This reduces ambiguity when using methods which accept angles in degrees or radians.
- Since:
- 2.4, DALi version 1.0.0
Constructor & Destructor Documentation
Default constructor, initialises to 0.
- Since:
- 2.4, DALi version 1.0.0
Dali::Degree::Degree | ( | float | value | ) | [explicit] |
Creates an angle in degrees.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] value The initial value in degrees
DALI_EXPORT_API Dali::Degree::Degree | ( | Radian | value | ) |
Creates an angle in degrees from a Radian.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] value The initial value in Radians