Transformation

Created by svennahler on 13.11.16.

open class Transformation : Recyclable, Resettable

Types

Evaluator
Link copied to clipboard
open class Evaluator

Functions

forcedRecycle
Link copied to clipboard
open fun forcedRecycle()
getAlsoRecyclable
Link copied to clipboard
abstract fun getAlsoRecyclable(): Recyclable
getRotation
Link copied to clipboard
open fun getRotation(): Float
getRotationPostFlip
Link copied to clipboard
open fun getRotationPostFlip(): Float
getScale
Link copied to clipboard
open fun getScale(): Float
getTranslation
Link copied to clipboard
open fun getTranslation(): Array<Float>
isFlipped
Link copied to clipboard
open fun isFlipped(): Boolean
isHorizontalFlipped
Link copied to clipboard
open fun isHorizontalFlipped(): Boolean
isVerticalFlipped
Link copied to clipboard
open fun isVerticalFlipped(): Boolean
mapRectInside
Link copied to clipboard
open fun mapRectInside(rect: RectF, fit: Boolean)
open fun mapRectInside(mapRect: RectF, holderRect: Rect, fit: Boolean)
mapRectWithoutRotation
Link copied to clipboard
open fun mapRectWithoutRotation(rect: RectF, flipped: Boolean)
mapRotation
Link copied to clipboard
open fun mapRotation(rotation: Float): Float
obtain
Link copied to clipboard
open fun obtain(): Transformation
open fun obtain(matrix: Matrix): Transformation
obtainIn
Link copied to clipboard
open fun obtainIn(mark: RecyclerMark): Transformation
open fun obtainIn(mark: RecyclerMark, matrix: Matrix): Transformation
obtainInverted
Link copied to clipboard
open fun obtainInverted(): Transformation
obtainInvertedIn
Link copied to clipboard
open fun obtainInvertedIn(mark: RecyclerMark): Transformation
onRecycle
Link copied to clipboard
open fun onRecycle()
open fun onRecycle()
permanent
Link copied to clipboard
open fun permanent(): Transformation
recycle
Link copied to clipboard
abstract fun recycle()
open fun recycle()
reset
Link copied to clipboard
abstract fun reset()
open fun reset()
reverseMapRect
Link copied to clipboard
open fun reverseMapRect(sourceRect: RectF, aspect: Double)
open fun reverseMapRect(sourceRect: RectF, aspect: BigDecimal)
set
Link copied to clipboard
open fun set(src: Transformation, dest: Transformation, interpolation: Float)
setAlsoRecyclable
Link copied to clipboard
abstract fun setAlsoRecyclable(p: Recyclable)
setScale
Link copied to clipboard
open fun setScale(scale: Float)
setTo
Link copied to clipboard
open fun setTo(scale: Float, rotation: Float, horizontalFlipped: Boolean, sourcePoint: Array<Float>, destinationPoint: Array<Float>)
setToCordsMapping
Link copied to clipboard
open fun setToCordsMapping(fromDestination: Array<Float>, toDestination: Array<Float>)

Properties

alsoRecyclable
Link copied to clipboard
private open var alsoRecyclable: Recyclable
EVALUATOR
Link copied to clipboard
val EVALUATOR: Transformation.Evaluator
permanent
Link copied to clipboard
open val permanent: Boolean
values
Link copied to clipboard
private open val values: Array<Float>