class KeyAttribute : Keys

Known direct subclasses

Provides the API for creating a KeyAttribute Object for use in the Core ConstraintLayout &MotionLayout system

Summary

Nested types

Public constructors

KeyAttribute(frame: Int, target: String!)

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 constructors

KeyAttribute

Added in 1.1.0-alpha13
KeyAttribute(frame: Int, target: String!)

Public functions

getAlpha

Added in 1.1.0-alpha13
fun getAlpha(): Float

getCurveFit

Added in 1.1.0-alpha13
fun getCurveFit(): KeyAttribute.Fit!

getPivotX

Added in 1.1.0-alpha13
fun getPivotX(): Float

getPivotY

Added in 1.1.0-alpha13
fun getPivotY(): Float

getRotation

Added in 1.1.0-alpha13
fun getRotation(): Float

getRotationX

Added in 1.1.0-alpha13
fun getRotationX(): Float

getRotationY

Added in 1.1.0-alpha13
fun getRotationY(): Float

getScaleX

Added in 1.1.0-alpha13
fun getScaleX(): Float

getScaleY

Added in 1.1.0-alpha13
fun getScaleY(): Float

getTarget

Added in 1.1.0-alpha13
fun getTarget(): String!

getTransitionEasing

Added in 1.1.0-alpha13
fun getTransitionEasing(): String!

getTransitionPathRotate

Added in 1.1.0-alpha13
fun getTransitionPathRotate(): Float

getTranslationX

Added in 1.1.0-alpha13
fun getTranslationX(): Float

getTranslationY

Added in 1.1.0-alpha13
fun getTranslationY(): Float

getTranslationZ

Added in 1.1.0-alpha13
fun getTranslationZ(): Float

getVisibility

Added in 1.1.0-alpha13
fun getVisibility(): KeyAttribute.Visibility!

setAlpha

Added in 1.1.0-alpha13
fun setAlpha(alpha: Float): Unit

setCurveFit

Added in 1.1.0-alpha13
fun setCurveFit(curveFit: KeyAttribute.Fit!): Unit

setPivotX

Added in 1.1.0-alpha13
fun setPivotX(pivotX: Float): Unit

setPivotY

Added in 1.1.0-alpha13
fun setPivotY(pivotY: Float): Unit

setRotation

Added in 1.1.0-alpha13
fun setRotation(rotation: Float): Unit

setRotationX

Added in 1.1.0-alpha13
fun setRotationX(rotationX: Float): Unit

setRotationY

Added in 1.1.0-alpha13
fun setRotationY(rotationY: Float): Unit

setScaleX

Added in 1.1.0-alpha13
fun setScaleX(scaleX: Float): Unit

setScaleY

Added in 1.1.0-alpha13
fun setScaleY(scaleY: Float): Unit

setTarget

Added in 1.1.0-alpha13
fun setTarget(target: String!): Unit

setTransitionEasing

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

setTransitionPathRotate

Added in 1.1.0-alpha13
fun setTransitionPathRotate(transitionPathRotate: Float): Unit

setTranslationX

Added in 1.1.0-alpha13
fun setTranslationX(translationX: Float): Unit

setTranslationY

Added in 1.1.0-alpha13
fun setTranslationY(translationY: Float): Unit

setTranslationZ

Added in 1.1.0-alpha13
fun setTranslationZ(translationZ: Float): Unit

setVisibility

Added in 1.1.0-alpha13
fun setVisibility(visibility: KeyAttribute.Visibility!): Unit

toString

fun toString(): String!

Protected functions

attributesToString

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

Protected properties

TYPE

Added in 1.1.0-alpha13
protected val TYPEString!