Tizen Native API
Dali::Degree Struct Reference

An angle in degrees. More...

Public Member Functions

 Degree ()
 Default constructor, initialises to 0.
 Degree (float value)
 Create an angle in degrees.
DALI_EXPORT_API Degree (Radian value)
 Create 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

Constructor & Destructor Documentation

Default constructor, initialises to 0.

Since :
2.4
Dali::Degree::Degree ( float  value) [explicit]

Create an angle in degrees.

Since :
2.4
Parameters:
[in]valueThe initial value in degrees.
DALI_EXPORT_API Dali::Degree::Degree ( Radian  value)

Create an angle in degrees from a Radian.

Since :
2.4
Parameters:
[in]valueThe initial value in Radians.