Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val NaN: Matrix
Link copied to clipboard
val NIL: Matrix

Functions

Link copied to clipboard
fun fromArray(value: DoubleArray, offset: Int = 0): Matrix
fun fromArray(value: FloatArray, offset: Int = 0): Matrix
Link copied to clipboard
fun fromTransform(transform: MatrixTransform, pivotX: Double = 0.0, pivotY: Double = 0.0): Matrix
fun fromTransform(x: Double, y: Double, rotation: Angle = Angle.ZERO, scaleX: Double = 1.0, scaleY: Double = 1.0, skewX: Angle = Angle.ZERO, skewY: Angle = Angle.ZERO, pivotX: Double = 0.0, pivotY: Double = 0.0): Matrix
Link copied to clipboard
fun interpolated(l: Matrix, r: Matrix, ratio: Ratio): Matrix
Link copied to clipboard
operator fun invoke(): Matrix
Link copied to clipboard
fun isAlmostEquals(a: Matrix, b: Matrix, epsilon: Double = 1.0E-5): Boolean
Link copied to clipboard
Link copied to clipboard
fun rotating(angle: Angle): Matrix
Link copied to clipboard
fun skewing(skewX: Angle, skewY: Angle): Matrix
Link copied to clipboard
fun transform(a: Float, b: Float, c: Float, d: Float, tx: Float, ty: Float, p: Point): Point
Link copied to clipboard
fun translating(delta: Point): Matrix