RotationTrait.RotationDegreesRange

class RotationTrait.RotationDegreesRange


The number of degrees that a device can rotate.

Summary

Public constructors

RotationDegreesRange(
    rotationDegreesMin: Float,
    rotationDegreesMax: Float
)

Creates the RotationDegreesRange class.

Public properties

Float

Maximum rotation in number of degrees

Float

Minimum rotation in number of degrees.

Public constructors

RotationDegreesRange

RotationDegreesRange(
    rotationDegreesMin: Float = 0.0f,
    rotationDegreesMax: Float = 0.0f
)

Creates the RotationDegreesRange class.

Public properties

rotationDegreesMax

val rotationDegreesMaxFloat

Maximum rotation in number of degrees

rotationDegreesMin

val rotationDegreesMinFloat

Minimum rotation in number of degrees.