Tizen Native API  4.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:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

Default constructor, initialises to 0.

Since:
3.0, DALi version 1.0.0
Dali::Degree::Degree ( float  value) [explicit]

Creates an angle in degrees.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]valueThe initial value in degrees
DALI_EXPORT_API Dali::Degree::Degree ( Radian  value)

Creates an angle in degrees from a Radian.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]valueThe initial value in Radians