Class KeyCycles
- java.lang.Object
-
- androidx.constraintlayout.core.dsl.Keys
-
- androidx.constraintlayout.core.dsl.KeyAttributes
-
- androidx.constraintlayout.core.dsl.KeyCycles
-
public class KeyCycles extends 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyCycles.Wave-
Nested classes/interfaces inherited from class androidx.constraintlayout.core.dsl.KeyAttributes
KeyAttributes.Fit, KeyAttributes.Visibility
-
-
Field Summary
-
Fields inherited from class androidx.constraintlayout.core.dsl.KeyAttributes
TYPE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidattributesToString(java.lang.StringBuilder builder)float[]getWaveOffset()float[]getWavePeriod()float[]getWavePhase()KeyCycles.WavegetWaveShape()voidsetWaveOffset(float... waveOffset)voidsetWavePeriod(float... wavePeriod)voidsetWavePhase(float... wavePhase)voidsetWaveShape(KeyCycles.Wave waveShape)-
Methods inherited from class androidx.constraintlayout.core.dsl.KeyAttributes
getAlpha, getCurveFit, getPivotX, getPivotY, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getTarget, getTransitionEasing, getTransitionPathRotate, getTranslationX, getTranslationY, getTranslationZ, getVisibility, setAlpha, setCurveFit, setPivotX, setPivotY, setRotation, setRotationX, setRotationY, setScaleX, setScaleY, setTarget, setTransitionEasing, setTransitionPathRotate, setTranslationX, setTranslationY, setTranslationZ, setVisibility, toString
-
-
-
-
Method Detail
-
getWaveShape
public KeyCycles.Wave getWaveShape()
-
setWaveShape
public void setWaveShape(KeyCycles.Wave waveShape)
-
getWavePeriod
public float[] getWavePeriod()
-
setWavePeriod
public void setWavePeriod(float... wavePeriod)
-
getWaveOffset
public float[] getWaveOffset()
-
setWaveOffset
public void setWaveOffset(float... waveOffset)
-
getWavePhase
public float[] getWavePhase()
-
setWavePhase
public void setWavePhase(float... wavePhase)
-
attributesToString
protected void attributesToString(java.lang.StringBuilder builder)
- Overrides:
attributesToStringin classKeyAttributes
-
-