class KeyCycles : KeyAttributes


Provides the API for creating a KeyCycle Object for use in the Core ConstraintLayout &MotionLayout system This allows multiple KeyCycle positions to defined in one object.

Summary

Nested types

Protected functions

Unit

Inherited functions

From androidx.constraintlayout.core.dsl.KeyAttributes
From androidx.constraintlayout.core.dsl.Keys
Unit
append(builder: StringBuilder!, name: String!, array: Array<String!>!)
Unit
append(builder: StringBuilder!, name: String!, array: FloatArray!)
Unit
append(builder: StringBuilder!, name: String!, value: Float)
Unit
append(builder: StringBuilder!, name: String!, value: Int)
Unit
append(builder: StringBuilder!, name: String!, value: String!)
String!
unpack(str: Array<String!>!)

Public functions

getWaveOffset

Added in 1.1.0
fun getWaveOffset(): FloatArray<Float>!

getWavePeriod

Added in 1.1.0
fun getWavePeriod(): FloatArray<Float>!

getWavePhase

Added in 1.1.0
fun getWavePhase(): FloatArray<Float>!

getWaveShape

Added in 1.1.0
fun getWaveShape(): KeyCycles.Wave!

setWaveOffset

fun setWaveOffset(waveOffset: FloatArray!): Unit

setWavePeriod

fun setWavePeriod(wavePeriod: FloatArray!): Unit

setWavePhase

fun setWavePhase(wavePhase: FloatArray!): Unit

setWaveShape

Added in 1.1.0
fun setWaveShape(waveShape: KeyCycles.Wave!): Unit

Protected functions

attributesToString

protected fun attributesToString(builder: StringBuilder!): Unit