class KeyAttributes : Keys

Known direct subclasses
KeyCycles

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.


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

Summary

Protected functions

Unit

Protected properties

String!

Inherited functions

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

getAlpha

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

getCurveFit

Added in 1.1.0
fun getCurveFit(): KeyAttributes.Fit!

getPivotX

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

getPivotY

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

getRotation

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

getRotationX

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

getRotationY

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

getScaleX

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

getScaleY

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

getTarget

Added in 1.1.0
fun getTarget(): Array<String!>!

getTransitionEasing

Added in 1.1.0
fun getTransitionEasing(): String!

getTransitionPathRotate

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

getTranslationX

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

getTranslationY

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

getTranslationZ

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

getVisibility

Added in 1.1.0
fun getVisibility(): Array<KeyAttributes.Visibility!>!

setAlpha

fun setAlpha(alpha: FloatArray!): Unit

setCurveFit

Added in 1.1.0
fun setCurveFit(curveFit: KeyAttributes.Fit!): Unit

setPivotX

fun setPivotX(pivotX: FloatArray!): Unit

setPivotY

fun setPivotY(pivotY: FloatArray!): Unit

setRotation

fun setRotation(rotation: FloatArray!): Unit

setRotationX

fun setRotationX(rotationX: FloatArray!): Unit

setRotationY

fun setRotationY(rotationY: FloatArray!): Unit

setScaleX

Added in 1.1.0
fun setScaleX(scaleX: FloatArray!): Unit

setScaleY

Added in 1.1.0
fun setScaleY(scaleY: FloatArray!): Unit

setTarget

Added in 1.1.0
fun setTarget(target: Array<String!>!): Unit

setTransitionEasing

Added in 1.1.0
fun setTransitionEasing(transitionEasing: String!): Unit

setTransitionPathRotate

fun setTransitionPathRotate(transitionPathRotate: FloatArray!): Unit

setTranslationX

Added in 1.1.0
fun setTranslationX(translationX: FloatArray!): Unit

setTranslationY

Added in 1.1.0
fun setTranslationY(translationY: FloatArray!): Unit

setTranslationZ

Added in 1.1.0
fun setTranslationZ(translationZ: FloatArray!): Unit

setVisibility

fun setVisibility(visibility: Array<KeyAttributes.Visibility!>!): Unit

toString

fun toString(): String!

Protected functions

attributesToString

Added in 1.1.0
protected fun attributesToString(builder: StringBuilder!): Unit

Protected properties

TYPE

Added in 1.1.0
protected val TYPEString!