Offset Linear Distance Factor
class OffsetLinearDistanceFactor(@FloatRange(from = 0.0, to = Infinity ) start: Float = 0.0f, @FloatRange(from = 0.0, to = Infinity ) end: Float = 0.5f) : DistanceFactor, Parcelable
DistanceFactor based on two values.
Parameters
start
determines from which distance the factor starts to increase.
end
determines from which distance the factor is 1f.
Constructors
Link copied to clipboard
constructor(@FloatRange(from = 0.0, to = Infinity ) start: Float = 0.0f, @FloatRange(from = 0.0, to = Infinity ) end: Float = 0.5f)