Skew

class Skew<S : Drawable>(drawable: S, skewX: Double, skewY: Double, add: Boolean = true, animation: Animation? = null, onFinish: S.() -> Unit? = null) : ComponentOp.Animatable<S>

Constructors

Link copied to clipboard
constructor(drawable: S, skewX: Double, skewY: Double, add: Boolean = true, animation: Animation? = null, onFinish: S.() -> Unit? = null)

Properties

Link copied to clipboard
var onFinish: S.() -> Unit?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun add()
Link copied to clipboard
open override fun apply()
Link copied to clipboard
open fun exclusive(): Boolean

If this is true, when this drawable operation is attempted to be added, if one is already present, instead of replacing it, it will be ignored.

Link copied to clipboard
@ApiStatus.Experimental
open fun finishNow()

finish this operation immediately.

Link copied to clipboard
fun remove()
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun reverse()
Link copied to clipboard
open override fun unapply(): Boolean
Link copied to clipboard
open override fun verify(): Boolean

override this function to verify that this operation is valid, which is run before it is applied. (default: always true)