EasingFunction.StepPosition



Setting to determine the desired output value of the first and last step of [0, 1) for EasingFunction.Steps.

Summary

Public companion properties

EasingFunction.StepPosition

The step function "jumps" at both the start and the end: For x in [0, 1/step_count) => y = 1/(step_count + 1).

Cmn
EasingFunction.StepPosition

The step function "jumps" at the end of [0, 1): For x in [0, 1/step_count) => y = 0.

Cmn
EasingFunction.StepPosition

The step function does not "jump" at either boundary: For x in [0, 1/step_count) => y = 0.

Cmn
EasingFunction.StepPosition

The step function "jumps" at the start of [0, 1): For x in [0, 1/step_count) => y = 1/step_count.

Cmn

Public functions

open String
Cmn

Public companion properties

JUMP_BOTH

val JUMP_BOTHEasingFunction.StepPosition

The step function "jumps" at both the start and the end: For x in [0, 1/step_count) => y = 1/(step_count + 1). For x in [1 - 1/step_count, 1) => y = 1 - 1/(step_count + 1).

JUMP_END

val JUMP_ENDEasingFunction.StepPosition

The step function "jumps" at the end of [0, 1): For x in [0, 1/step_count) => y = 0. For x in [1 - 1/step_count, 1) => y = 1 - 1/step_count.

JUMP_NONE

val JUMP_NONEEasingFunction.StepPosition

The step function does not "jump" at either boundary: For x in [0, 1/step_count) => y = 0. For x in [1 - 1/step_count, 1) => y = 1.

JUMP_START

val JUMP_STARTEasingFunction.StepPosition

The step function "jumps" at the start of [0, 1): For x in [0, 1/step_count) => y = 1/step_count. For x in [1 - 1/step_count, 1) => y = 1.

Public functions

toString

open fun toString(): String