Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

the timing function of CSS value, linear when it is not known

Link copied to clipboard

a cubic Bézier curve from (0, 0) to (1, 1) with the control points (x1, y1) and (x2, y2)

Link copied to clipboard
fun isCss(value: String): Boolean

true when value is a timing function of CSS

Link copied to clipboard
fun steps(count: Int, position: String = "jump-end"): TimingFunction

steps of CSS: count steps, jumping at their start, their end, both or neither