Scoop API

scoop:scoop.graphics:0.1.0

Transform

struct Transform

source · line 26
public
public struct Transform(val a: Double = 1.0, val b: Double = 0.0, val c: Double = 0.0, val d: Double = 1.0, val tx: Double = 0.0, val ty: Double = 0.0)

Maps (x,y) to (ax+cy+tx,bx+dy+ty).

constructor constructor

source · line 26
public
constructor(val a: Double = 1.0, val b: Double = 0.0, val c: Double = 0.0, val d: Double = 1.0, val tx: Double = 0.0, val ty: Double = 0.0)

function equals

source · line 26
publiccompiler-derived
operator fun equals(other: Transform): Boolean

This derived operation is available when each field or payload type supports same-type equality. Required types: Double.