Transform

data class Transform(var x: Double = 0.0, var y: Double = 0.0, var scaleX: Double = 1.0, var scaleY: Double = 1.0, var skewX: Angle = 0.radians, var skewY: Angle = 0.radians, var rotation: Angle = 0.radians) : MutableInterpolable<MMatrix.Transform> , Interpolable<MMatrix.Transform>

Deprecated

Use MatrixTransform

Constructors

Link copied to clipboard
constructor(x: Double = 0.0, y: Double = 0.0, scaleX: Double = 1.0, scaleY: Double = 1.0, skewX: Angle = 0.radians, skewY: Angle = 0.radians, rotation: Angle = 0.radians)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var x: Double
Link copied to clipboard
var y: Double

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun identity()
Link copied to clipboard
open override fun interpolateWith(ratio: Ratio, other: MMatrix.Transform): MMatrix.Transform
Link copied to clipboard
fun isAlmostEquals(other: MMatrix.Transform, epsilon: Double = 1.0E-6): Boolean
Link copied to clipboard
Link copied to clipboard
fun setMatrix(matrix: MMatrix, pivotX: Double = 0.0, pivotY: Double = 0.0): MMatrix.Transform
Link copied to clipboard
fun setMatrixNoReturn(matrix: MMatrix, pivotX: Double = 0.0, pivotY: Double = 0.0)
Link copied to clipboard
fun setTo(x: Double, y: Double, scaleX: Double, scaleY: Double, rotation: Angle, skewX: Angle, skewY: Angle): MMatrix.Transform
fun setTo(x: Float, y: Float, scaleX: Float, scaleY: Float, rotation: Angle, skewX: Angle, skewY: Angle): MMatrix.Transform
Link copied to clipboard
Link copied to clipboard
fun toMatrix(out: MMatrix = MMatrix()): MMatrix