RangeInfoCompat

Class with information if a node is a range.

Constructors

Link copied to clipboard
constructor(type: Int, min: Float, max: Float, current: Float)
Creates a new range.

Properties

Link copied to clipboard
Range type: float.
Link copied to clipboard
Range type: integer.
Link copied to clipboard
Range type: percent with values from zero to one.

Functions

Link copied to clipboard
open fun getCurrent(): Float
Gets the current value.
Link copied to clipboard
open fun getMax(): Float
Gets the max value.
Link copied to clipboard
open fun getMin(): Float
Gets the min value.
Link copied to clipboard
open fun getType(): Int
Gets the range type.
Link copied to clipboard
Obtains a cached instance if such is available otherwise a new one.