TransformScope

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
inline fun inverse(a: Float = 1.0f, b: Float = 0.0f, c: Float = 0.0f, d: Float = 1.0f, tx: Float = 0.0f, ty: Float = 0.0f, block: TransformScope.() -> Unit)

Inverts the specified transform.

Link copied to clipboard
inline fun rotate(degrees: Float = 0.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified rotation.

Link copied to clipboard
inline fun scale(sx: Float = 1.0f, sy: Float = 1.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified scale.

Link copied to clipboard
inline fun skew(kx: Float = 0.0f, ky: Float = 0.0f, pivot: Point = Point(0f, 0f))

Postconcats the current transform with the specified skewing.

Link copied to clipboard
inline fun translate(dx: Float = 0.0f, dy: Float = 0.0f)

Postconcats the current transform with the specified translation.

Properties

Link copied to clipboard
val children: MutableList<CanvasTransformChildModel>